MCPcopy Index your code
hub / github.com/python/cpython / test_rerun

Method test_rerun

Lib/test/test_regrtest.py:131–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 self.assertEqual(ns.verbose, 0)
130
131 def test_rerun(self):
132 for opt in '-w', '--rerun', '--verbose2':
133 with self.subTest(opt=opt):
134 ns = self.parse_args([opt])
135 self.assertTrue(ns.rerun)
136
137 def test_verbose3(self):
138 for opt in '-W', '--verbose3':

Callers

nothing calls this directly

Calls 3

parse_argsMethod · 0.95
assertTrueMethod · 0.80
subTestMethod · 0.45

Tested by

no test coverage detected