(self, pytester: Pytester)
| 1270 | ) |
| 1271 | |
| 1272 | def test_skipif_noreason(self, pytester: Pytester) -> None: |
| 1273 | pytester.makepyfile( |
| 1274 | """ |
| 1275 | import pytest |
| 1276 | @pytest.mark.skipif(True) |
| 1277 | def test_func(): |
| 1278 | pass |
| 1279 | """ |
| 1280 | ) |
| 1281 | result = pytester.runpytest("-rs") |
| 1282 | result.stdout.fnmatch_lines( |
| 1283 | """ |
| 1284 | *1 error* |
| 1285 | """ |
| 1286 | ) |
| 1287 | |
| 1288 | def test_xfail(self, pytester: Pytester) -> None: |
| 1289 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected