MCPcopy Create free account
hub / github.com/RustPython/RustPython / B

Class B

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

Source from the content-addressed store, hash-verified

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

Callers 1

test_reprMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_reprMethod · 0.56