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

Method test_count_option_no_value

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

Source from the content-addressed store, hash-verified

881 self.assertParseFail(["-q3", "-v"], "no such option: -3")
882
883 def test_count_option_no_value(self):
884 self.assertParseFail(["--quiet=3", "-v"],
885 "--quiet option does not take a value")
886
887 def test_count_with_default(self):
888 self.parser.set_default('verbose', 0)

Callers

nothing calls this directly

Calls 1

assertParseFailMethod · 0.80

Tested by

no test coverage detected