Message89304
It can be useful, after a unittest.assertRaises() or assertRaisesRegexp()
to be able to take a closer look at the exception that was raised.
To this end, I propose returning the caught exception from these methods.
Additionally, the context manager involved with keep the caught exception
in its exc_value member after it has been successfully thrown (and
matched) |
|
| Date |
User |
Action |
Args |
| 2009-06-12 21:43:14 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson |
| 2009-06-12 21:43:14 | kristjan.jonsson | set | messageid: <1244842994.31.0.225778913715.issue6275@psf.upfronthosting.co.za> |
| 2009-06-12 21:43:12 | kristjan.jonsson | link | issue6275 messages |
| 2009-06-12 21:43:12 | kristjan.jonsson | create | |
|