Message219887
That's better - thanks. Another minor tweak needed though. stopall should only stop patches that were started with "start", not those used as context managers or decorators (or they will be stopped twice!).
See how the main patch object only adds to the set of active patches in the start method, not in __enter__ (and removes in stop rather than __exit__). |
|
Date |
User |
Action |
Args |
2014-06-06 14:53:13 | michael.foord | set | recipients:
+ michael.foord, kushal.das, kakuma |
2014-06-06 14:53:13 | michael.foord | set | messageid: <1402066393.09.0.314044379091.issue21600@psf.upfronthosting.co.za> |
2014-06-06 14:53:13 | michael.foord | link | issue21600 messages |
2014-06-06 14:53:12 | michael.foord | create | |
|