Message72865
In working on the reversion patch, I just noticed that r66321 also
incorrectly removed a whole pile of w.reset() calls.
When using a single catch_warning() context to test two or more
operations which may raise the same warning, you *must* call w.reset()
between each operation, or the later operations can fail to raise
warnings, but the test will still pass because the most recent warning
is still one which was correctly raised by an earlier operation. |
|
Date |
User |
Action |
Args |
2008-09-09 14:53:21 | ncoghlan | set | recipients:
+ ncoghlan, barry, brett.cannon, exarkun, pitrou, benjamin.peterson |
2008-09-09 14:53:21 | ncoghlan | set | messageid: <1220972001.05.0.834079710074.issue3781@psf.upfronthosting.co.za> |
2008-09-09 14:53:20 | ncoghlan | link | issue3781 messages |
2008-09-09 14:53:19 | ncoghlan | create | |
|