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

Class I

Lib/test/test_collections.py:985–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

983 self.assertIsSubclass(type(x), Iterable)
984 # Check direct subclassing
985 class I(Iterable):
986 def __iter__(self):
987 return super().__iter__()
988 self.assertEqual(list(I()), [])
989 self.assertNotIsSubclass(str, I)
990 self.validate_abstract_methods(Iterable, '__iter__')

Callers 1

test_IterableMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_IterableMethod · 0.56