diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-20 07:38:31 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-20 07:38:31 (GMT) |
commit | 36b5b6a41711e9f7f9e7112ad2eb68cc1fe1d014 (patch) | |
tree | 47ab65ac8ec6b98e428f056b8e2001cd60654ba0 | |
parent | 0702d4d2452de62d3a74d51231060d9f879dd0a5 (diff) | |
parent | aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d (diff) | |
download | cpython-36b5b6a41711e9f7f9e7112ad2eb68cc1fe1d014.zip cpython-36b5b6a41711e9f7f9e7112ad2eb68cc1fe1d014.tar.gz cpython-36b5b6a41711e9f7f9e7112ad2eb68cc1fe1d014.tar.bz2 |
Don't create non-needed file.
-rw-r--r-- | Lib/test/test_sys.py | 5 |
1 files changed, 0 insertions, 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 |