Message165467
| Author |
r.david.murray |
| Recipients |
chris.jerdonek, michael.foord, r.david.murray |
| Date |
2012年07月14日.20:08:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1342296503.08.0.416262003703.issue15351@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
That should have been
self.addCleanup(MyContextManager.__exit__)
You could alternatively call __exit__() explicitly in tearDown, of course, but I believe addCleanup is a more reliable cleanup than tearDown. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月14日 20:08:23 | r.david.murray | set | recipients:
+ r.david.murray, michael.foord, chris.jerdonek |
| 2012年07月14日 20:08:23 | r.david.murray | set | messageid: <1342296503.08.0.416262003703.issue15351@psf.upfronthosting.co.za> |
| 2012年07月14日 20:08:22 | r.david.murray | link | issue15351 messages |
| 2012年07月14日 20:08:22 | r.david.murray | create |
|