[Python-checkins] cpython (3.2): Try to make test_import a bit more robust

antoine.pitrou python-checkins at python.org
Mon Mar 21 19:05:31 CET 2011


http://hg.python.org/cpython/rev/c527ce78ba0c
changeset:   68812:c527ce78ba0c
branch:      3.2
parent:      68810:693415328363
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Mon Mar 21 19:05:02 2011 +0100
summary:
  Try to make test_import a bit more robust

files:
  Lib/test/test_import.py

diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -30,6 +30,9 @@
 
 class ImportTests(unittest.TestCase):
 
+    def setUp(self):
+        remove_files(TESTFN)
+
     def tearDown(self):
         unload(TESTFN)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list