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

Method raiseerror

src/_pytest/fixtures.py:569–571  ·  view source on GitHub ↗

Raise a FixtureLookupError with the given message.

(self, msg: Optional[str])

Source from the content-addressed store, hash-verified

567 self.node.add_marker(marker)
568
569 def raiseerror(self, msg: Optional[str]) -> "NoReturn":
570 """Raise a FixtureLookupError with the given message."""
571 raise self._fixturemanager.FixtureLookupError(None, self, msg)
572
573 def _fillfixtures(self) -> None:
574 item = self._pyfuncitem

Callers 1

set_fixtureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected