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

Method _test_clinic

Lib/test/test_clinic.py:973–979  ·  view source on GitHub ↗
(self, input, output)

Source from the content-addressed store, hash-verified

971""")
972
973 def _test_clinic(self, input, output):
974 language = CLanguage(None)
975 c = Clinic(language, filename="file", limited_capi=False)
976 c.parsers['inert'] = InertParser(c)
977 c.parsers['copy'] = CopyParser(c)
978 computed = c.parse(input)
979 self.assertEqual(output, computed)
980
981 def test_clinic_1(self):
982 self._test_clinic("""

Callers 1

test_clinic_1Method · 0.95

Calls 6

parseMethod · 0.95
CLanguageClass · 0.90
ClinicClass · 0.90
InertParserClass · 0.85
CopyParserClass · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected