From 4e30617bad4c41ea8d33cf4e7b79f3dcf90bd5b7 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 27 May 2006 14:13:13 +0000 Subject: The cheery optimism of old age. --- Lib/test/test_tarfile.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 62423da..8ee0f41 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -633,19 +633,7 @@ def test_main(): 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()): -- cgit v0.12