(pytester: Pytester)
| 1020 | |
| 1021 | |
| 1022 | def test_skipped_folding(pytester: Pytester) -> None: |
| 1023 | pytester.makepyfile( |
| 1024 | test_one=""" |
| 1025 | import pytest |
| 1026 | pytestmark = pytest.mark.skip("Folding") |
| 1027 | def setup_function(func): |
| 1028 | pass |
| 1029 | def test_func(): |
| 1030 | pass |
| 1031 | class TestClass(object): |
| 1032 | def test_method(self): |
| 1033 | pass |
| 1034 | """ |
| 1035 | ) |
| 1036 | result = pytester.runpytest("-rs") |
| 1037 | result.stdout.fnmatch_lines(["*SKIP*2*test_one.py: Folding"]) |
| 1038 | assert result.ret == 0 |
| 1039 | |
| 1040 | |
| 1041 | def test_reportchars(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected