summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-21 19:05:18 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-21 19:05:18 +0100
commit59cc6847a907c50afabeba16d67d9092a8ea1f49 (patch)
treed3c5fa12105ead4218affe9be8c23541fbc6eb60
parent732110ab3984b0794ad518a655f1cb898ab91077 (diff)
parent46719af05af7bd016b186ddbad74cd4a22b4aeb1 (diff)
downloadcpython-git-59cc6847a907c50afabeba16d67d9092a8ea1f49.tar.gz
Try to make test_import a bit more robust
-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 ebcc2ca48d..0332fdd826 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)