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

Method test_long_option_short_option

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

Source from the content-addressed store, hash-verified

708 [])
709
710 def test_long_option_short_option(self):
711 self.assertParseOK(["--foo=bar", "-axyz"],
712 {'a': 'xyz', 'boo': None, 'foo': ["bar"]},
713 [])
714
715 def test_abbrev_long_option(self):
716 self.assertParseOK(["--f=bar", "-axyz"],

Callers

nothing calls this directly

Calls 1

assertParseOKMethod · 0.80

Tested by

no test coverage detected