From: Guido van Rossum Date: Wed, 7 Mar 2007 22:59:39 +0000 (+0000) Subject: Delete TESTFN after the test. X-Git-Tag: v3.0a1~1130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d0f5a4934854207948115b14b4643a6cb600a0d;p=thirdparty%2FPython%2Fcpython.git Delete TESTFN after the test. --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 03cdfef32241..193130e2b68c 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -54,6 +54,9 @@ class MockNonBlockWriterIO(io.RawIOBase): class IOTest(unittest.TestCase): + def tearDown(self): + test_support.unlink(test_support.TESTFN) + def write_ops(self, f): f.write(b"blah.") f.seek(0)