()
| 644 | |
| 645 | |
| 646 | def test_pytest_exit() -> None: |
| 647 | with pytest.raises(pytest.exit.Exception) as excinfo: |
| 648 | pytest.exit("hello") |
| 649 | assert excinfo.errisinstance(pytest.exit.Exception) |
| 650 | |
| 651 | |
| 652 | def test_pytest_fail() -> None: |
nothing calls this directly
no test coverage detected