(self, count)
| 3556 | assert False, "this test should be a method of a different class!" |
| 3557 | |
| 3558 | def run_perf(self, count): |
| 3559 | tests = [] |
| 3560 | for attr in vars(TestPatma): |
| 3561 | if attr.startswith("test_"): |
| 3562 | tests.append(getattr(self, attr)) |
| 3563 | tests *= count |
| 3564 | start = pyperf.perf_counter() |
| 3565 | for test in tests: |
| 3566 | test() |
| 3567 | return pyperf.perf_counter() - start |
| 3568 | |
| 3569 | |
| 3570 | runner = pyperf.Runner() |
nothing calls this directly
no test coverage detected