(lines)
| 574 | |
| 575 | |
| 576 | def _strip_resource_warnings(lines): |
| 577 | # Assert no output on stderr, except for unreliable ResourceWarnings. |
| 578 | # (https://github.com/pytest-dev/pytest/issues/5088) |
| 579 | return [ |
| 580 | x |
| 581 | for x in lines |
| 582 | if not x.startswith(("Exception ignored in:", "ResourceWarning")) |
| 583 | ] |
| 584 | |
| 585 | |
| 586 | def test_pytest_exit_returncode(pytester: Pytester) -> None: |
no outgoing calls
no test coverage detected