You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently moved a whole swag of test code over from py.test which allows callableObj to be a string that is simply exec()'ed. I think that allowing this would allow greater interoperability with py.test, and it seems slightly more intuitive to me.
Tom Harris
Google Code Info:
Issue #: 360
Author: celephicus@gmail.com
Created On: 2010-08-09T04:26:28.000Z
Closed On:
The text was updated successfully, but these errors were encountered:
The current implementation is:
assert_raises(excClass, callableObj, _args, *_kwargs)
I recently moved a whole swag of test code over from py.test which allows callableObj to be a string that is simply exec()'ed. I think that allowing this would allow greater interoperability with py.test, and it seems slightly more intuitive to me.
Tom Harris
Google Code Info:
Issue #: 360
Author: celephicus@gmail.com
Created On: 2010-08-09T04:26:28.000Z
Closed On:
The text was updated successfully, but these errors were encountered: