MCPcopy Index your code
hub / github.com/RustPython/RustPython / MockSomething

Class MockSomething

Lib/test/test_typing.py:134–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 self.assertNotIsInstance(Something(), Mock)
133
134 class MockSomething(Something, Mock): pass
135 self.assertIsSubclass(MockSomething, Any)
136 self.assertIsSubclass(MockSomething, MockSomething)
137 self.assertIsSubclass(MockSomething, Something)

Callers 1

test_can_subclassMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_can_subclassMethod · 0.68