6 Jan
2011
6 Jan
'11
6:45 a.m.
On Thu, Jan 6, 2011 at 8:11 AM, brett.cannon <python-checkins@python.org> wrote:
+.. todo:: + See if tempfile or test.support has a context manager that creates and + deletes a temp file so as to move off of test.support.TESTFN.
Yeah, tempfile.TemporaryFile and friends all support the CM protocol. There's also the tempfile.TemporaryDirectory CM (as of 3.2). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia