(self, pytester: Pytester)
| 812 | result.stdout.fnmatch_lines(["*testing stuff*", "*1 skipped*"]) |
| 813 | |
| 814 | def test_skip_no_reason(self, pytester: Pytester) -> None: |
| 815 | pytester.makepyfile( |
| 816 | """ |
| 817 | import pytest |
| 818 | @pytest.mark.skip |
| 819 | def test_foo(): |
| 820 | pass |
| 821 | """ |
| 822 | ) |
| 823 | result = pytester.runpytest("-rs") |
| 824 | result.stdout.fnmatch_lines(["*unconditional skip*", "*1 skipped*"]) |
| 825 | |
| 826 | def test_skip_with_reason(self, pytester: Pytester) -> None: |
| 827 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected