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

Method test_long_option_append

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

Source from the content-addressed store, hash-verified

671 [])
672
673 def test_long_option_append(self):
674 self.assertParseOK(["--foo", "bar", "--foo", "", "--foo=x"],
675 {'a': None,
676 'boo': None,
677 'foo': ["bar", "", "x"]},
678 [])
679
680 def test_option_argument_joined(self):
681 self.assertParseOK(["-abc"],

Callers

nothing calls this directly

Calls 1

assertParseOKMethod · 0.80

Tested by

no test coverage detected