← Back to team overview

divmod-dev team mailing list archive

[Bug 831895] Re: Allow assertThrows to pass varargs to callable, like assertRaises

 

** Branch linked: lp:~divmod-dev/divmod.org/831895-assertThrows-varargs

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for nevow.
https://bugs.launchpad.net/bugs/831895

Title:
  Allow assertThrows to pass varargs to callable, like assertRaises

Status in Divmod Nevow:
  New

Bug description:
  Sometimes it can be convenient to pass arguments to the callable in
  assertThrows directly, instead of creating an anonymous inner
  function; this would match assertRaises in Python. Also, JSHint warns
  about creating functions inside loops.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nevow/+bug/831895/+subscriptions


References