(self)
| 282 | "35 loops, best of 5: 2 sec per loop\n") |
| 283 | |
| 284 | def test_main_multiple_setups(self): |
| 285 | s = self.run_main(seconds_per_increment=2.0, |
| 286 | switches=['-n35', '-s', 'a = "CustomSetup"', '-s', 'print(a)']) |
| 287 | self.assertEqual(s, "CustomSetup\n" * DEFAULT_REPEAT + |
| 288 | "35 loops, best of 5: 2 sec per loop\n") |
| 289 | |
| 290 | def test_main_fixed_reps(self): |
| 291 | s = self.run_main(seconds_per_increment=60.0, switches=['-r9']) |
nothing calls this directly
no test coverage detected