From: Neal Norwitz Date: Thu, 15 Jun 2006 10:24:49 +0000 (+0000) Subject: Print some more info to get an idea of how much longer the test will last X-Git-Tag: v2.5b1~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bda1418e65730dc7c2c85d31a670b01bd0cef2df;p=python Print some more info to get an idea of how much longer the test will last --- diff --git a/Lib/test/test_zipfile64.py b/Lib/test/test_zipfile64.py index b0d447de7f..b3f5763fbd 100644 --- a/Lib/test/test_zipfile64.py +++ b/Lib/test/test_zipfile64.py @@ -48,8 +48,9 @@ class TestsWithSourceFile(unittest.TestCase): # Print still working message since this test can be really slow if next_time <= time.time(): next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL - print >>sys.__stdout__, \ - ' zipTest still working, be patient...' + print >>sys.__stdout__, ( + ' zipTest still writing %d of %d, be patient...' % + (num, filecount)) sys.__stdout__.flush() zipfp.close() @@ -60,8 +61,9 @@ class TestsWithSourceFile(unittest.TestCase): # Print still working message since this test can be really slow if next_time <= time.time(): next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL - print >>sys.__stdout__, \ - ' zipTest still working, be patient...' + print >>sys.__stdout__, ( + ' zipTest still reading %d of %d, be patient...' % + (num, filecount)) sys.__stdout__.flush() zipfp.close()