MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _run_and_check

Function _run_and_check

tests_python/test_run.py:8–10  ·  view source on GitHub ↗
(testdir_or_pytester, path, check_for="Worked")

Source from the content-addressed store, hash-verified

6
7
8def _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
13if hasattr(pytest, "version_tuple") and pytest.version_tuple[0] >= 7:

Callers 2

test_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected