Takes a time in seconds and returns a string hh:mm:ss
(elapsed)
| 34 | |
| 35 | |
| 36 | def format_time(elapsed): |
| 37 | ''' |
| 38 | Takes a time in seconds and returns a string hh:mm:ss |
| 39 | ''' |
| 40 | elapsed_rounded = int(round((elapsed))) |
| 41 | |
| 42 | return str(datetime.timedelta(seconds=elapsed_rounded)) |
| 43 | |
| 44 | |
| 45 | def get_logger(output_dir): |
nothing calls this directly
no outgoing calls
no test coverage detected