Don't create non-needed file.

This commit is contained in:
Serhiy Storchaka 2015-12-20 09:37:52 +02:00
parent 9c297e43bf
commit aaf69aca45
1 changed files with 0 additions and 5 deletions

View File

@ -814,11 +814,6 @@ class SizeofTest(unittest.TestCase):
self.longdigit = sys.int_info.sizeof_digit self.longdigit = sys.int_info.sizeof_digit
import _testcapi import _testcapi
self.gc_headsize = _testcapi.SIZEOF_PYGC_HEAD 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 check_sizeof = test.support.check_sizeof