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

Class B

Lib/test/test_functools.py:772–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770 def test_invalid_args(self):
771 with self.assertRaises(TypeError):
772 class B(object):
773 method = functools.partialmethod(None, 1)
774 with self.assertRaises(TypeError):
775 class B:
776 method = functools.partialmethod()

Callers 2

test_mroMethod · 0.70
test_reuse_same_nameMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_mroMethod · 0.56
test_reuse_same_nameMethod · 0.56