(pytester: Pytester)
| 949 | |
| 950 | |
| 951 | def test_skip_not_report_default(pytester: Pytester) -> None: |
| 952 | p = pytester.makepyfile( |
| 953 | test_one=""" |
| 954 | import pytest |
| 955 | def test_this(): |
| 956 | pytest.skip("hello") |
| 957 | """ |
| 958 | ) |
| 959 | result = pytester.runpytest(p, "-v") |
| 960 | result.stdout.fnmatch_lines( |
| 961 | [ |
| 962 | # "*HINT*use*-r*", |
| 963 | "*1 skipped*" |
| 964 | ] |
| 965 | ) |
| 966 | |
| 967 | |
| 968 | def test_skipif_class(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected