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

Method __lt__

src/_pytest/scope.py:56–59  ·  view source on GitHub ↗
(self, other: "Scope")

Source from the content-addressed store, hash-verified

54 return _ALL_SCOPES[index + 1]
55
56 def __lt__(self, other: "Scope") -> bool:
57 self_index = _SCOPE_INDICES[self]
58 other_index = _SCOPE_INDICES[other]
59 return self_index < other_index
60
61 @classmethod
62 def from_user(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected