summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-21 18:05:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-21 18:05:18 (GMT)
commit59cc6847a907c50afabeba16d67d9092a8ea1f49 (patch)
treed3c5fa12105ead4218affe9be8c23541fbc6eb60 /Lib/test/test_import.py
parent732110ab3984b0794ad518a655f1cb898ab91077 (diff)
parent46719af05af7bd016b186ddbad74cd4a22b4aeb1 (diff)
downloadcpython-59cc6847a907c50afabeba16d67d9092a8ea1f49.zip
cpython-59cc6847a907c50afabeba16d67d9092a8ea1f49.tar.gz
cpython-59cc6847a907c50afabeba16d67d9092a8ea1f49.tar.bz2
Try to make test_import a bit more robust
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index ebcc2ca..0332fdd 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -30,6 +30,9 @@ def remove_files(name):
class ImportTests(unittest.TestCase):
+ def setUp(self):
+ remove_files(TESTFN)
+
def tearDown(self):
unload(TESTFN)