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

Method test_abbrev_long_option

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

Source from the content-addressed store, hash-verified

713 [])
714
715 def test_abbrev_long_option(self):
716 self.assertParseOK(["--f=bar", "-axyz"],
717 {'a': 'xyz', 'boo': None, 'foo': ["bar"]},
718 [])
719
720 def test_defaults(self):
721 (options, args) = self.parser.parse_args([])

Callers

nothing calls this directly

Calls 1

assertParseOKMethod · 0.80

Tested by

no test coverage detected