Classes | |
class | ExitCode |
Application exit codes Codes are ordered by severity such that the highest number is reported. More... | |
class | TextTestResult |
Outputs test results as text on a stream. More... | |
Functions | |
def | pretty_time_delta |
Prints elapsed time in a pretty format. More... | |
def etr.result.pretty_time_delta | ( | seconds | ) |
Prints elapsed time in a pretty format.
pretty_time_delta(7.1)
'7.1s'
pretty_time_delta(30*60 + 1)
'30m 1s'
pretty_time_delta(3601)
'1h 0m 1s'