[Python-checkins] r46463 - python/trunk/Lib/test/test_tarfile.py

tim.peters python-checkins at python.org
Sat May 27 16:13:15 CEST 2006


Author: tim.peters
Date: Sat May 27 16:13:13 2006
New Revision: 46463

Modified:
   python/trunk/Lib/test/test_tarfile.py
Log:
The cheery optimism of old age.


Modified: python/trunk/Lib/test/test_tarfile.py
==============================================================================
--- python/trunk/Lib/test/test_tarfile.py	(original)
+++ python/trunk/Lib/test/test_tarfile.py	Sat May 27 16:13:13 2006
@@ -633,19 +633,7 @@
         if gzip:
             os.remove(tarname("gz"))
         if bz2:
-            # Grrr.  This frequently blows up on the Windows buildbot
-            # slaves.  No idea why.  Adding more output to try to guess
-            # something.  Can't reproduce at will.
-            import time, sys
-            for dummy in range(10):
-                try:
-                    os.remove(tarname("bz2"))
-                except OSError, msg:
-                    print >> sys.stderr, \
-                        "test_tarfile final cleanup crapped out %s" % msg
-                    time.sleep(1)
-                else:
-                    break
+            os.remove(tarname("bz2"))
         if os.path.exists(dirname()):
             shutil.rmtree(dirname())
         if os.path.exists(tmpname()):


More information about the Python-checkins mailing list