(self, pytester: Pytester)
| 824 | result.stdout.fnmatch_lines(["*unconditional skip*", "*1 skipped*"]) |
| 825 | |
| 826 | def test_skip_with_reason(self, pytester: Pytester) -> None: |
| 827 | pytester.makepyfile( |
| 828 | """ |
| 829 | import pytest |
| 830 | @pytest.mark.skip(reason="for lolz") |
| 831 | def test_bar(): |
| 832 | pass |
| 833 | """ |
| 834 | ) |
| 835 | result = pytester.runpytest("-rs") |
| 836 | result.stdout.fnmatch_lines(["*for lolz*", "*1 skipped*"]) |
| 837 | |
| 838 | def test_only_skips_marked_test(self, pytester: Pytester) -> None: |
| 839 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected