(path)
| 145 | @pytest.mark.skipif(NO_MYPY, reason="Mypy is not installed") |
| 146 | @pytest.mark.parametrize("path", get_test_cases(PASS_DIR)) |
| 147 | def test_success(path) -> None: |
| 148 | # Alias `OUTPUT_MYPY` so that it appears in the local namespace |
| 149 | output_mypy = OUTPUT_MYPY |
| 150 | if path in output_mypy: |
| 151 | msg = "Unexpected mypy output\n\n" |
| 152 | msg += "\n".join(_strip_filename(v)[1] for v in output_mypy[path]) |
| 153 | raise AssertionError(msg) |
| 154 | |
| 155 | |
| 156 | @pytest.mark.slow |
nothing calls this directly
no test coverage detected