diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-21 19:05:18 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-21 19:05:18 +0100 |
commit | 59cc6847a907c50afabeba16d67d9092a8ea1f49 (patch) | |
tree | d3c5fa12105ead4218affe9be8c23541fbc6eb60 | |
parent | 732110ab3984b0794ad518a655f1cb898ab91077 (diff) | |
parent | 46719af05af7bd016b186ddbad74cd4a22b4aeb1 (diff) | |
download | cpython-git-59cc6847a907c50afabeba16d67d9092a8ea1f49.tar.gz |
Try to make test_import a bit more robust
-rw-r--r-- | Lib/test/test_import.py | 3 |
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) |