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

Method test_main_fixed_iters

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

Source from the content-addressed store, hash-verified

271 self.assertEqual(s, "100 loops, best of 5: 2.5 usec per loop\n")
272
273 def test_main_fixed_iters(self):
274 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
275 self.assertEqual(s, "35 loops, best of 5: 2 sec per loop\n")
276
277 def test_main_setup(self):
278 s = self.run_main(seconds_per_increment=2.0,

Callers

nothing calls this directly

Calls 2

run_mainMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected