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

Method test_start

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

Source from the content-addressed store, hash-verified

110 self.assertTrue(ns.wait)
111
112 def test_start(self):
113 for opt in '-S', '--start':
114 with self.subTest(opt=opt):
115 ns = self.parse_args([opt, 'foo'])
116 self.assertEqual(ns.start, 'foo')
117 self.checkError([opt], 'expected one argument')
118
119 def test_verbose(self):
120 ns = self.parse_args(['-v'])

Callers

nothing calls this directly

Calls 4

parse_argsMethod · 0.95
checkErrorMethod · 0.95
subTestMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected