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

Method test_conflict_error_group

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

Source from the content-addressed store, hash-verified

1314 self.assertTrueconflict_error(self.parser.add_option)
1315
1316 def test_conflict_error_group(self):
1317 group = OptionGroup(self.parser, "Group 1")
1318 self.assertTrueconflict_error(group.add_option)
1319
1320 def test_no_such_conflict_handler(self):
1321 self.assertRaises(

Callers

nothing calls this directly

Calls 2

OptionGroupClass · 0.90

Tested by

no test coverage detected