(lines)
| 78 | |
| 79 | |
| 80 | def _strip_resource_warnings(lines): |
| 81 | # Strip unreliable ResourceWarnings, so no-output assertions on stderr can work. |
| 82 | # (https://github.com/pytest-dev/pytest/issues/5088) |
| 83 | return [ |
| 84 | x |
| 85 | for x in lines |
| 86 | if not x.startswith(("Exception ignored in:", "ResourceWarning")) |
| 87 | ] |
| 88 | |
| 89 | |
| 90 | def test_run_without_stepwise(stepwise_pytester: Pytester) -> None: |
no outgoing calls
no test coverage detected