#4243
(self)
| 101 | rec.pop() |
| 102 | |
| 103 | def test_warn_stacklevel(self) -> None: |
| 104 | class="st">""class="st">"class="cm">#4243"class="st">"" |
| 105 | rec = WarningsRecorder(_ispytest=True) |
| 106 | with rec: |
| 107 | warnings.warn(class="st">"test", DeprecationWarning, 2) |
| 108 | |
| 109 | def test_typechecking(self) -> None: |
| 110 | from _pytest.recwarn import WarningsChecker |
nothing calls this directly
no test coverage detected