MCPcopy Index your code
hub / github.com/python/cpython / assertRunNotOK

Method assertRunNotOK

Lib/test/test_compileall.py:569–573  ·  view source on GitHub ↗
(self, *args, **env_vars)

Source from the content-addressed store, hash-verified

567 return out
568
569 def assertRunNotOK(self, *args, **env_vars):
570 rc, out, err = script_helper.assert_python_failure(
571 *self._get_run_args(args), **env_vars,
572 PYTHONIOENCODING='utf-8')
573 return rc, out, err
574
575 def assertCompiled(self, fn):
576 path = importlib.util.cache_from_source(fn)

Callers 5

test_silentMethod · 0.95
test_d_compile_errorMethod · 0.95
test_include_bad_fileMethod · 0.95

Calls 2

_get_run_argsMethod · 0.95
assert_python_failureMethod · 0.80

Tested by

no test coverage detected