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

Method test_slowest

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

Source from the content-addressed store, hash-verified

148 self.assertEqual(ns.verbose, 0)
149
150 def test_slowest(self):
151 for opt in '-o', '--slowest':
152 with self.subTest(opt=opt):
153 ns = self.parse_args([opt])
154 self.assertTrue(ns.print_slow)
155
156 def test_header(self):
157 ns = self.parse_args(['--header'])

Callers

nothing calls this directly

Calls 3

parse_argsMethod · 0.95
assertTrueMethod · 0.80
subTestMethod · 0.45

Tested by

no test coverage detected