(self, pytester: Pytester)
| 800 | rec.assertoutcome(skipped=1) |
| 801 | |
| 802 | def test_arg_as_reason(self, pytester: Pytester) -> None: |
| 803 | pytester.makepyfile( |
| 804 | """ |
| 805 | import pytest |
| 806 | @pytest.mark.skip('testing stuff') |
| 807 | def test_bar(): |
| 808 | pass |
| 809 | """ |
| 810 | ) |
| 811 | result = pytester.runpytest("-rs") |
| 812 | result.stdout.fnmatch_lines(["*testing stuff*", "*1 skipped*"]) |
| 813 | |
| 814 | def test_skip_no_reason(self, pytester: Pytester) -> None: |
| 815 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected