Message178041
Given that this is a basic example, it's not necessary to introduce both the forms of assertRaises.
I personally find the context manager form more readable, and I prefer it to the regular one even if it takes two lines instead of one. |
|
Date |
User |
Action |
Args |
2012-12-24 09:02:52 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, ncoghlan, orsenthil, eric.araujo, michael.foord, docs@python, notizblock, serhiy.storchaka |
2012-12-24 09:02:52 | ezio.melotti | set | messageid: <1356339772.69.0.392621876128.issue11468@psf.upfronthosting.co.za> |
2012-12-24 09:02:52 | ezio.melotti | link | issue11468 messages |
2012-12-24 09:02:52 | ezio.melotti | create | |
|