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

Method _test

Lib/test/test_argparse.py:4160–4164  ·  view source on GitHub ↗
(self, tester, parser_text)

Source from the content-addressed store, hash-verified

4158 return parser
4159
4160 def _test(self, tester, parser_text):
4161 expected_text = getattr(tester, self.func_suffix)
4162 expected_text = textwrap.dedent(expected_text)
4163 tester.maxDiff = None
4164 tester.assertEqual(expected_text, parser_text)
4165
4166 @force_not_colorized
4167 def test_format(self, tester):

Callers 3

test_formatMethod · 0.95
test_printMethod · 0.95
test_print_fileMethod · 0.95

Calls 2

dedentMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected