()
| 317 | |
| 318 | |
| 319 | def test_findsource_fallback() -> None: |
| 320 | from _pytest._code.source import findsource |
| 321 | |
| 322 | src, lineno = findsource(x) |
| 323 | assert src is not None |
| 324 | assert "test_findsource_simple" in str(src) |
| 325 | assert src[lineno] == " def x():" |
| 326 | |
| 327 | |
| 328 | def test_findsource(monkeypatch) -> None: |
nothing calls this directly
no test coverage detected