diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 5a37537acdf..441da04a1af 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -814,11 +814,6 @@ def setUp(self): self.longdigit = sys.int_info.sizeof_digit import _testcapi self.gc_headsize = _testcapi.SIZEOF_PYGC_HEAD - self.file = open(test.support.TESTFN, 'wb') - - def tearDown(self): - self.file.close() - test.support.unlink(test.support.TESTFN) check_sizeof = test.support.check_sizeof