Changes in tests/pybin/test_run.py [76de075:64cf022]
- File:
-
- 1 edited
-
tests/pybin/test_run.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/test_run.py
r76de075 r64cf022 69 69 else : text = "FAILED with code %d" % retcode 70 70 71 text += " C%s - R%s" % ( fmtDur(duration[0]),fmtDur(duration[1]))71 text += " C%s - R%s" % (cls.fmtDur(duration[0]), cls.fmtDur(duration[1])) 72 72 return text 73 74 @staticmethod 75 def fmtDur( duration ): 76 if duration : 77 hours, rem = divmod(duration, 3600) 78 minutes, rem = divmod(rem, 60) 79 seconds, millis = divmod(rem, 1) 80 return "%2d:%02d.%03d" % (minutes, seconds, millis * 1000) 81 return " n/a"
Note:
See TracChangeset
for help on using the changeset viewer.