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

Method test_nargs_required_values

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

Source from the content-addressed store, hash-verified

915 "invalid floating-point value: '2x'")
916
917 def test_nargs_required_values(self):
918 self.assertParseFail(["--point", "1.0", "3.5"],
919 "--point option requires 3 arguments")
920
921class TestMultipleArgsAppend(BaseTest):
922 def setUp(self):

Callers

nothing calls this directly

Calls 1

assertParseFailMethod · 0.80

Tested by

no test coverage detected