| 122 | |
| 123 | |
| 124 | class Timer: |
| 125 | def __enter__(self): |
| 126 | self.start = time.time() |
| 127 | return self |
| 128 | |
| 129 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 130 | self.end = time.time() |
| 131 | self.delta = self.end - self.start |
| 132 | self.time = timer(self.start, self.end) |
| 133 | |
| 134 | |
| 135 | def seed_everything(seed): |
nothing calls this directly
no outgoing calls
no test coverage detected