Message98849
Dino - if you use assertRaises as a context manager the exception is kept as an attribute on the context. You can make assertions about the exception after the with block has executed. |
|
Date |
User |
Action |
Args |
2010-02-04 19:35:05 | michael.foord | set | recipients:
+ michael.foord, theller, ezio.melotti, dino.viehland, brian.curtin |
2010-02-04 19:35:05 | michael.foord | set | messageid: <1265312105.55.0.585574976814.issue7855@psf.upfronthosting.co.za> |
2010-02-04 19:35:04 | michael.foord | link | issue7855 messages |
2010-02-04 19:35:04 | michael.foord | create | |
|