summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-03-07 22:59:39 (GMT)
committerGuido van Rossum <guido@python.org>2007-03-07 22:59:39 (GMT)
commit4d0f5a4934854207948115b14b4643a6cb600a0d (patch)
treea2ea3c3fc6bce8d9f889777325c6698e399c24f9 /Lib/test/test_io.py
parent00efeadbcf2bfdeb805eecbb6d486b0bf93c3738 (diff)
downloadcpython-4d0f5a4934854207948115b14b4643a6cb600a0d.zip
cpython-4d0f5a4934854207948115b14b4643a6cb600a0d.tar.gz
cpython-4d0f5a4934854207948115b14b4643a6cb600a0d.tar.bz2
Delete TESTFN after the test.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py3
1 files changed, 3 insertions, 0 deletions
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)