mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
Print some more info to get an idea of how much longer the test will last
This commit is contained in:
parent
643ad19251
commit
bda1418e65
1 changed files with 6 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue