(self, pytester: Pytester, option)
| 1356 | run e.g. distributed tests.""" |
| 1357 | |
| 1358 | def test_collect_fail(self, pytester: Pytester, option) -> None: |
| 1359 | pytester.makepyfile("import xyz\n") |
| 1360 | result = pytester.runpytest(*option.args) |
| 1361 | result.stdout.fnmatch_lines( |
| 1362 | ["ImportError while importing*", "*No module named *xyz*", "*1 error*"] |
| 1363 | ) |
| 1364 | |
| 1365 | def test_maxfailures(self, pytester: Pytester, option) -> None: |
| 1366 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected