mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Remove unused imports in test modules.
This commit is contained in:
parent
dc3694bee0
commit
a4f46e1292
74 changed files with 40 additions and 135 deletions
|
@ -6,7 +6,6 @@ executing have not been removed.
|
|||
"""
|
||||
import unittest
|
||||
import sys
|
||||
import test
|
||||
import os
|
||||
import shutil
|
||||
from copy import copy, deepcopy
|
||||
|
@ -80,7 +79,7 @@ class TestSysConfig(unittest.TestCase):
|
|||
return self._uname
|
||||
|
||||
def _cleanup_testfn(self):
|
||||
path = test.test_support.TESTFN
|
||||
path = TESTFN
|
||||
if os.path.isfile(path):
|
||||
os.remove(path)
|
||||
elif os.path.isdir(path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue