mirror of https://github.com/python/cpython
Don't create non-needed file.
This commit is contained in:
parent
9c297e43bf
commit
aaf69aca45
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue