summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-15 10:24:49 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-15 10:24:49 (GMT)
commitbda1418e65730dc7c2c85d31a670b01bd0cef2df (patch)
tree9fca3de4653e9157f052f68ad8db6568b9cb0d63
parent643ad192518389918253c83876d5016b4b577c1a (diff)
downloadcpython-bda1418e65730dc7c2c85d31a670b01bd0cef2df.zip
cpython-bda1418e65730dc7c2c85d31a670b01bd0cef2df.tar.gz
cpython-bda1418e65730dc7c2c85d31a670b01bd0cef2df.tar.bz2
Print some more info to get an idea of how much longer the test will last
-rw-r--r--Lib/test/test_zipfile64.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Lib/test/test_zipfile64.py b/Lib/test/test_zipfile64.py
index b0d447d..b3f5763 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()