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

Method test_conflict_error

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

Source from the content-addressed store, hash-verified

1311 self.assertEqual(err.option_id, "-v/--version")
1312
1313 def test_conflict_error(self):
1314 self.assertTrueconflict_error(self.parser.add_option)
1315
1316 def test_conflict_error_group(self):
1317 group = OptionGroup(self.parser, "Group 1")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected