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

Class Mock

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

Source from the content-addressed store, hash-verified

122
123 def test_can_subclass(self):
124 class Mock(Any): pass
125 self.assertIsSubclass(Mock, Any)
126 self.assertIsInstance(Mock(), Mock)
127

Callers 2

test_can_subclassMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_can_subclassMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…