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

Method test_no_such_option

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

Source from the content-addressed store, hash-verified

656 "option -b: invalid integer value: '5x'")
657
658 def test_no_such_option(self):
659 self.assertParseFail(["--boo13"], "no such option: --boo13")
660
661 def test_long_invalid_integer(self):
662 self.assertParseFail(["--boo=x5"],

Callers

nothing calls this directly

Calls 1

assertParseFailMethod · 0.80

Tested by

no test coverage detected