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

Function raise_exit

testing/test_assertion.py:1653–1654  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1651
1652def test_exit_from_assertrepr_compare(monkeypatch) -> None:
1653 def raise_exit(obj):
1654 outcomes.exit("Quitting debugger")
1655
1656 monkeypatch.setattr(util, "istext", raise_exit)
1657

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected