(self, result, expected_python)
| 154 | yield invalid_interpreter |
| 155 | |
| 156 | def assert_error(self, result, expected_python): |
| 157 | # type: (InterpreterOrError, str) -> None |
| 158 | assert isinstance(result, tuple) |
| 159 | python, error_message = result |
| 160 | assert expected_python == python |
| 161 | assert isinstance(error_message, str) |
| 162 | assert len(error_message) > 0 |
| 163 | |
| 164 | def test_iter_interpreter_errors(self, invalid_interpreter): |
| 165 | # type: (str) -> None |
no outgoing calls
no test coverage detected