Mocker should define its own assertRaises that return the exception caught
Bug #299930 reported by
Thomas Herve
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mocker |
Fix Released
|
Undecided
|
Thomas Herve |
Bug Description
The stdlib assertRaises method doesn't give back the exception caught. It's really handy to get it back, for checking attributes of the exception for example.
trial does this, for example.
Related branches
Changed in mocker: | |
assignee: | nobody → therve |
status: | New → In Progress |
Changed in mocker: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is ready to review in the attached branch.