(pytester: Pytester)
| 1109 | |
| 1110 | |
| 1111 | def test_reportchars_all_error(pytester: Pytester) -> None: |
| 1112 | pytester.makepyfile( |
| 1113 | conftest=""" |
| 1114 | def pytest_runtest_teardown(): |
| 1115 | assert 0 |
| 1116 | """, |
| 1117 | test_simple=""" |
| 1118 | def test_foo(): |
| 1119 | pass |
| 1120 | """, |
| 1121 | ) |
| 1122 | result = pytester.runpytest("-ra") |
| 1123 | result.stdout.fnmatch_lines(["ERROR*test_foo*"]) |
| 1124 | |
| 1125 | |
| 1126 | def test_errors_in_xfail_skip_expressions(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected