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

Method test_main_help

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

Source from the content-addressed store, hash-verified

296
297 @unittest.skipIf(sys.flags.optimize >= 2, "need __doc__")
298 def test_main_help(self):
299 s = self.run_main(switches=['-h'])
300 self.assertEqual(s, timeit.__doc__)
301
302 def test_main_verbose(self):
303 s = self.run_main(switches=['-v'])

Callers

nothing calls this directly

Calls 2

run_mainMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected