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

Method __init__

src/_pytest/mark/structures.py:490–493  ·  view source on GitHub ↗
(self, *, _ispytest: bool = False)

Source from the content-addressed store, hash-verified

488 filterwarnings: _FilterwarningsMarkDecorator
489
490 def __init__(self, *, _ispytest: bool = False) -> None:
491 check_ispytest(_ispytest)
492 self._config: Optional[Config] = None
493 self._markers: Set[str] = set()
494
495 def __getattr__(self, name: str) -> MarkDecorator:
496 """Generate a new :class:`MarkDecorator` with the given name."""

Callers

nothing calls this directly

Calls 1

check_ispytestFunction · 0.90

Tested by

no test coverage detected