MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __init__

Method __init__

testing/test_assertion.py:672–673  ·  view source on GitHub ↗
(self, iterable)

Source from the content-addressed store, hash-verified

670 # Test comparing with a Sequence subclass.
671 class TestSequence(MutableSequence[int]):
672 def __init__(self, iterable):
673 self.elements = list(iterable)
674
675 def __getitem__(self, item):
676 return self.elements[item]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected