Don't create non-needed file.

This commit is contained in:
Serhiy Storchaka 2015-12-20 09:38:31 +02:00
commit 36b5b6a417

View file

@ -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