From 4d0f5a4934854207948115b14b4643a6cb600a0d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 7 Mar 2007 22:59:39 +0000 Subject: Delete TESTFN after the test. --- Lib/test/test_io.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 03cdfef..193130e 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) -- cgit v0.12