(testdir_or_pytester, path, check_for="Worked")
| 6 | |
| 7 | |
| 8 | def _run_and_check(testdir_or_pytester, path, check_for="Worked"): |
| 9 | result = testdir_or_pytester.runpython(path) |
| 10 | result.stdout.fnmatch_lines([check_for]) |
| 11 | |
| 12 | |
| 13 | if hasattr(pytest, "version_tuple") and pytest.version_tuple[0] >= 7: |
no outgoing calls
no test coverage detected