()
| 782 | |
| 783 | |
| 784 | def test_exception_printing_skip() -> None: |
| 785 | assert pytest.skip.Exception == pytest.skip.Exception |
| 786 | try: |
| 787 | pytest.skip(class="st">"hello") |
| 788 | except pytest.skip.Exception: |
| 789 | excinfo = ExceptionInfo.from_current() |
| 790 | s = excinfo.exconly(tryshort=True) |
| 791 | assert s.startswith(class="st">"Skipped") |
| 792 | |
| 793 | |
| 794 | def test_importorskip(monkeypatch) -> None: |
nothing calls this directly
no test coverage detected