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

Class B

Lib/test/test_collections.py:655–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653 self.assertEqual(repr(A(1)), 'A(x=1)')
654 # repr should show the name of the subclass
655 class B(A):
656 pass
657 self.assertEqual(repr(B(1)), 'B(x=1)')
658
659 def test_keyword_only_arguments(self):

Callers 1

test_reprMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_reprMethod · 0.56