[Python-checkins] r46972 - python/trunk/Lib/test/test_zipfile64.py

neal.norwitz python-checkins at python.org
Thu Jun 15 12:24:50 CEST 2006


Author: neal.norwitz
Date: Thu Jun 15 12:24:49 2006
New Revision: 46972

Modified:
   python/trunk/Lib/test/test_zipfile64.py
Log:
Print some more info to get an idea of how much longer the test will last

Modified: python/trunk/Lib/test/test_zipfile64.py
==============================================================================
--- python/trunk/Lib/test/test_zipfile64.py	(original)
+++ python/trunk/Lib/test/test_zipfile64.py	Thu Jun 15 12:24:49 2006
@@ -48,8 +48,9 @@
             # 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 @@
             # 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()
 


More information about the Python-checkins mailing list