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

Method __call__

src/_pytest/mark/__init__.py:177–184  ·  view source on GitHub ↗
(self, subname: str)

Source from the content-addressed store, hash-verified

175 return cls(mapped_names)
176
177 def __call__(self, subname: str) -> bool:
178 subname = subname.lower()
179 names = (name.lower() for name in self._names)
180
181 for name in names:
182 if subname in name:
183 return True
184 return False
185
186
187def deselect_by_keyword(items: "List[Item]", config: Config) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected