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

Class C

Lib/test/test_collections.py:1382–1383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380 def test_direct_subclassing(self):
1381 for B in Hashable, Iterable, Iterator, Reversible, Sized, Container, Callable:
1382 class C(B):
1383 pass
1384 self.assertIsSubclass(C, B)
1385 self.assertNotIsSubclass(int, C)
1386

Callers 2

validate_isinstanceMethod · 0.70

Calls

no outgoing calls

Tested by 2

validate_isinstanceMethod · 0.56