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

Method test_count_no_such_option

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

Source from the content-addressed store, hash-verified

878 ["3", "-v"])
879
880 def test_count_no_such_option(self):
881 self.assertParseFail(["-q3", "-v"], "no such option: -3")
882
883 def test_count_option_no_value(self):
884 self.assertParseFail(["--quiet=3", "-v"],

Callers

nothing calls this directly

Calls 1

assertParseFailMethod · 0.80

Tested by

no test coverage detected