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

Method test_main_seconds

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

Source from the content-addressed store, hash-verified

259 """))
260
261 def test_main_seconds(self):
262 s = self.run_main(seconds_per_increment=5.5)
263 self.assertEqual(s, "1 loop, best of 5: 5.5 sec per loop\n")
264
265 def test_main_milliseconds(self):
266 s = self.run_main(seconds_per_increment=0.0055)

Callers

nothing calls this directly

Calls 2

run_mainMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected