diff options
author | Guido van Rossum <guido@python.org> | 2007-03-07 22:59:39 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-03-07 22:59:39 +0000 |
commit | 8b7d4e162983aa40c6c43769897392e1190e521e (patch) | |
tree | b81244e61452090af5333c53948f1fb676ff50c1 /Lib/test | |
parent | 8008404be89a8626867ff928486f475afac1e3f6 (diff) | |
download | cpython-8b7d4e162983aa40c6c43769897392e1190e521e.tar.gz |
Delete TESTFN after the test.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_io.py | 3 |
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) |