Remove unused imports in test modules.

This commit is contained in:
Georg Brandl 2010-02-07 17:03:15 +00:00
parent dc3694bee0
commit a4f46e1292
74 changed files with 40 additions and 135 deletions

View file

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