(self, type, value, traceback)
| 360 | self.tstart = time.time() |
| 361 | |
| 362 | def __exit__(self, type, value, traceback): |
| 363 | out_str = 'Elapsed: %s' % (time.time() - self.tstart) |
| 364 | if self.name: |
| 365 | logging.info('[{self.name}]') |
| 366 | logging.info(out_str) |
| 367 | |
| 368 | |
| 369 | class Timer(object): |
nothing calls this directly
no outgoing calls
no test coverage detected