summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-20 07:37:52 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-20 07:37:52 (GMT)
commitaaf69aca4502ba43c6d0dbfe3ef33570ccb9627d (patch)
tree6068e6f10940266741b30612d7aa86449307e204 /Lib/test/test_sys.py
parent9c297e43bf5cdf939ee165a2e177794dc352fa17 (diff)
downloadcpython-aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d.zip
cpython-aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d.tar.gz
cpython-aaf69aca4502ba43c6d0dbfe3ef33570ccb9627d.tar.bz2
Don't create non-needed file.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py5
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