(self, count)
| 3544 | assert False, "this test should be a method of a different class!" |
| 3545 | |
| 3546 | def run_perf(self, count): |
| 3547 | tests = [] |
| 3548 | for attr in vars(TestPatma): |
| 3549 | if attr.startswith("test_"): |
| 3550 | tests.append(getattr(self, attr)) |
| 3551 | tests *= count |
| 3552 | start = pyperf.perf_counter() |
| 3553 | for test in tests: |
| 3554 | test() |
| 3555 | return pyperf.perf_counter() - start |
| 3556 | |
| 3557 | |
| 3558 | runner = pyperf.Runner() |
nothing calls this directly
no test coverage detected