MCPcopy Create free account
hub / github.com/python/cpython / _test

Method _test

Lib/test/test_clinic.py:815–817  ·  view source on GitHub ↗
(self, l, m, r, output)

Source from the content-addressed store, hash-verified

813
814class ClinicGroupPermuterTest(TestCase):
815 def _test(self, l, m, r, output):
816 computed = permute_optional_groups(l, m, r)
817 self.assertEqual(output, computed)
818
819 def test_range(self):
820 self._test([['start']], ['stop'], [['step']],

Callers 4

test_rangeMethod · 0.95
test_add_windowMethod · 0.95
test_ludicrousMethod · 0.95
test_right_onlyMethod · 0.95

Calls 2

permute_optional_groupsFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected