(run_time_secs: int = 3)
| 14 | |
| 15 | |
| 16 | def heavy_computation(run_time_secs: int = 3): |
| 17 | end_time: float = ( |
| 18 | time.perf_counter() + run_time_secs |
| 19 | ) # Run for `run_time_secs` seconds |
| 20 | while time.perf_counter() < end_time: |
| 21 | pass |
| 22 | |
| 23 | |
| 24 | class TestCarbonTrackerFlush(unittest.TestCase): |
no outgoing calls
no test coverage detected
searching dependent graphs…