diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-21 18:05:02 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-21 18:05:02 (GMT) |
commit | 46719af05af7bd016b186ddbad74cd4a22b4aeb1 (patch) | |
tree | a666d37a8fe9824539baa674114d713e36f7a21f | |
parent | 60bf7e9e4d5a52345c6fa8d12bce2cb6d649408c (diff) | |
download | cpython-46719af05af7bd016b186ddbad74cd4a22b4aeb1.zip cpython-46719af05af7bd016b186ddbad74cd4a22b4aeb1.tar.gz cpython-46719af05af7bd016b186ddbad74cd4a22b4aeb1.tar.bz2 |
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 cf17c96..95a5f48 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) |