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

Method test_count_with_default

Lib/test/test_optparse.py:887–889  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

885 "--quiet option does not take a value")
886
887 def test_count_with_default(self):
888 self.parser.set_default('verbose', 0)
889 self.assertParseOK([], {'verbose':0}, [])
890
891 def test_count_overriding_default(self):
892 self.parser.set_default('verbose', 0)

Callers

nothing calls this directly

Calls 2

set_defaultMethod · 0.80
assertParseOKMethod · 0.80

Tested by

no test coverage detected