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

Method test_quiet

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

Source from the content-addressed store, hash-verified

141 self.assertTrue(ns.verbose3)
142
143 def test_quiet(self):
144 for opt in '-q', '--quiet':
145 with self.subTest(opt=opt):
146 ns = self.parse_args([opt])
147 self.assertTrue(ns.quiet)
148 self.assertEqual(ns.verbose, 0)
149
150 def test_slowest(self):
151 for opt in '-o', '--slowest':

Callers

nothing calls this directly

Calls 4

parse_argsMethod · 0.95
assertTrueMethod · 0.80
subTestMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected