Changes in tests/pybin/tools.py [76de075:136f86b]
- File:
-
- 1 edited
-
tests/pybin/tools.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
r76de075 r136f86b 387 387 while True: 388 388 yield i.next(max(expire - time.time(), 0)) 389 390 def fmtDur( duration ):391 if duration :392 hours, rem = divmod(duration, 3600)393 minutes, rem = divmod(rem, 60)394 seconds, millis = divmod(rem, 1)395 return "%2d:%02d.%03d" % (minutes, seconds, millis * 1000)396 return " n/a"
Note:
See TracChangeset
for help on using the changeset viewer.