homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:23r.david.murraysetrecipients: + r.david.murray, michael.foord, chris.jerdonek
2012年07月14日 20:08:23r.david.murraysetmessageid: <1342296503.08.0.416262003703.issue15351@psf.upfronthosting.co.za>
2012年07月14日 20:08:22r.david.murraylinkissue15351 messages
2012年07月14日 20:08:22r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /