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

Method assertRunOK

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

Source from the content-addressed store, hash-verified

560 *args]
561
562 def assertRunOK(self, *args, **env_vars):
563 rc, out, err = script_helper.assert_python_ok(
564 *self._get_run_args(args), **env_vars,
565 PYTHONIOENCODING='utf-8')
566 self.assertEqual(b'', err)
567 return out
568
569 def assertRunNotOK(self, *args, **env_vars):
570 rc, out, err = script_helper.assert_python_failure(

Callers 15

test_legacy_pathsMethod · 0.95
test_multiple_runsMethod · 0.95
test_forceMethod · 0.95
test_recursion_limitMethod · 0.95
test_symlink_loopMethod · 0.95
test_quietMethod · 0.95
test_regexpMethod · 0.95
test_multiple_dirsMethod · 0.95

Calls 3

_get_run_argsMethod · 0.95
assert_python_okMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected