summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-03-07 22:59:39 +0000
committerGuido van Rossum <guido@python.org>2007-03-07 22:59:39 +0000
commit8b7d4e162983aa40c6c43769897392e1190e521e (patch)
treeb81244e61452090af5333c53948f1fb676ff50c1 /Lib/test
parent8008404be89a8626867ff928486f475afac1e3f6 (diff)
downloadcpython-8b7d4e162983aa40c6c43769897392e1190e521e.tar.gz
Delete TESTFN after the test.
Diffstat (limited to 'Lib/test')
-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 03cdfef322..193130e2b6 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)