MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_main_negative_reps

Method test_main_negative_reps

Lib/test/test_timeit.py:293–295  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

291 self.assertEqual(s, "1 loop, best of 9: 60 sec per loop\n")
292
293 def test_main_negative_reps(self):
294 s = self.run_main(seconds_per_increment=60.0, switches=['-r-5'])
295 self.assertEqual(s, "1 loop, best of 1: 60 sec per loop\n")
296
297 @unittest.skipIf(sys.flags.optimize >= 2, "need __doc__")
298 def test_main_help(self):

Callers

nothing calls this directly

Calls 2

run_mainMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected