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

Method __getitem__

src/_pytest/mark/expression.py:180–181  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

178 self.matcher = matcher
179
180 def __getitem__(self, key: str) -> bool:
181 return self.matcher(key[len(IDENT_PREFIX) :])
182
183 def __iter__(self) -> Iterator[str]:
184 raise NotImplementedError()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected