SilentGhost added the comment:
Documentation [0] has callable listed as a positional argument, and this is how
it should be used.
[0]
https://docs.python.org/2.7/library/unittest.html#unittest.TestCase.assertRaises
--
nosy: +SilentGhost
resolution: -> not a bug
stage: -> resolved
st
New submission from Chris Mitchell:
assertRaises has callableObj listed as a keyword, though it is not possible to
use it as a keyword when the callableObj takes arguments.
The function definition is:
def assertRaises(self, excClass, callableObj=None, *args, **kwargs):
Therefore, using it