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

Method __contains__

src/_pytest/mark/structures.py:563–568  ·  view source on GitHub ↗
(self, key: object)

Source from the content-addressed store, hash-verified

561 # below and use the collections.abc fallback, but that would be slow.
562
563 def __contains__(self, key: object) -> bool:
564 return (
565 key in self._markers
566 or self.parent is not None
567 and key in self.parent.keywords
568 )
569
570 def update( # type: ignore[override]
571 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected