(self, type_, value, traceback)
| 111 | return self |
| 112 | |
| 113 | def __exit__(self, type_, value, traceback): |
| 114 | # https://docs.python.org/2.7/reference/datamodel.html?highlight=__enter__#object.__exit__ |
| 115 | # If the context was exited without an exception, all three arguments will be None |
| 116 | self.checkpoint('finished') |
| 117 | # ex: "type=None, value=None, traceback=None" |
| 118 | # print "type=%s, value=%s, traceback=%s" % (type, value, traceback) |
| 119 | return True |
| 120 | |
| 121 | def __repr__(self): |
| 122 | return "elapsed record(ms): min=%s, max=%s" % self.stat |
nothing calls this directly
no test coverage detected