Delete TESTFN after the test.

This commit is contained in:
Guido van Rossum 2007-03-07 22:59:39 +00:00
parent 00efeadbcf
commit 4d0f5a4934
1 changed files with 3 additions and 0 deletions

View 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)