[pypy-svn] r12089 - pypy/dist/lib-python/modified-2.3.4/test

hpk at codespeak.net hpk at codespeak.net
Sun May 8 23:23:07 CEST 2005


Author: hpk
Date: Sun May  8 23:23:07 2005
New Revision: 12089

Modified:
   pypy/dist/lib-python/modified-2.3.4/test/test_tempfile.py
Log:
even more care is needed for tearDown() because
of random GC interactions (i guess). the test 
now really passes



Modified: pypy/dist/lib-python/modified-2.3.4/test/test_tempfile.py
==============================================================================
--- pypy/dist/lib-python/modified-2.3.4/test/test_tempfile.py	(original)
+++ pypy/dist/lib-python/modified-2.3.4/test/test_tempfile.py	Sun May  8 23:23:07 2005
@@ -497,8 +497,8 @@
 
     def tearDown(self):
         import shutil
-        if self.dir:
-            shutil.rmtree(self.dir) 
+        if self.dir: 
+            shutil.rmtree(self.dir, ignore_errors=True) 
             self.dir = None
 
     class mktemped:



More information about the Pypy-commit mailing list