(self, pytester: Pytester)
| 69 | assert "DID NOT RAISE" in out |
| 70 | |
| 71 | def test_syntax_error_module(self, pytester: Pytester) -> None: |
| 72 | reprec = pytester.inline_runsource("this is really not python") |
| 73 | values = reprec.getfailedcollections() |
| 74 | assert len(values) == 1 |
| 75 | out = str(values[0].longrepr) |
| 76 | assert out.find("not python") != -1 |
| 77 | |
| 78 | def test_exit_first_problem(self, pytester: Pytester) -> None: |
| 79 | reprec = pytester.inline_runsource( |
nothing calls this directly
no test coverage detected