]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Delete TESTFN after the test.
authorGuido van Rossum <guido@python.org>
Wed, 7 Mar 2007 22:59:39 +0000 (22:59 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 7 Mar 2007 22:59:39 +0000 (22:59 +0000)
Lib/test/test_io.py

index 03cdfef322413b249c4b0fbabf8be873369fbdef..193130e2b68ca09ac59bb049a6166932670965a4 100644 (file)
@@ -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)