From: Serhiy Storchaka Date: Sun, 20 Dec 2015 07:37:52 +0000 (+0200) Subject: Don't create non-needed file. X-Git-Tag: v3.6.0a1~881^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d;p=thirdparty%2FPython%2Fcpython.git Don't create non-needed file. --- diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 5a37537acdf8..441da04a1afd 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