From aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 20 Dec 2015 09:37:52 +0200 Subject: Don't create non-needed file. --- Lib/test/test_sys.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 5a37537..441da04 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -814,11 +814,6 @@ class SizeofTest(unittest.TestCase): 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 -- cgit v0.12