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

Method assertArgumentParserError

Lib/test/test_argparse.py:3134–3135  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3132 """Tests that parsers can be created with parent parsers"""
3133
3134 def assertArgumentParserError(self, *args, **kwargs):
3135 self.assertRaises(ArgumentParserError, *args, **kwargs)
3136
3137 def setUp(self):
3138 super().setUp()

Callers 3

_test_mutex_abMethod · 0.95

Calls 1

assertRaisesMethod · 0.45

Tested by

no test coverage detected