(self, pytester: Pytester)
| 853 | result.stdout.fnmatch_lines(["*nothing in particular*", "*1 passed*2 skipped*"]) |
| 854 | |
| 855 | def test_strict_and_skip(self, pytester: Pytester) -> None: |
| 856 | pytester.makepyfile( |
| 857 | """ |
| 858 | import pytest |
| 859 | @pytest.mark.skip |
| 860 | def test_hello(): |
| 861 | pass |
| 862 | """ |
| 863 | ) |
| 864 | result = pytester.runpytest("-rs", "--strict-markers") |
| 865 | result.stdout.fnmatch_lines(["*unconditional skip*", "*1 skipped*"]) |
| 866 | |
| 867 | def test_wrong_skip_usage(self, pytester: Pytester) -> None: |
| 868 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected