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

Method assert_python_ok

Lib/test/test_interpreters/utils.py:467–470  ·  view source on GitHub ↗
(self, *argv)

Source from the content-addressed store, hash-verified

465 return proc.returncode, proc.stdout, proc.stderr
466
467 def assert_python_ok(self, *argv):
468 exitcode, stdout, stderr = self.run_python(*argv)
469 self.assertNotEqual(exitcode, 1)
470 return stdout, stderr
471
472 def assert_python_failure(self, *argv):
473 exitcode, stdout, stderr = self.run_python(*argv)

Callers 15

check_usageMethod · 0.80
pycompilecmdMethod · 0.80
test_gh_120161Method · 0.80
validate_cmdMethod · 0.80
test_atexitMethod · 0.80
test_assert_python_okMethod · 0.80
get_outputMethod · 0.80
assertRunOKMethod · 0.80
fMethod · 0.80

Calls 2

run_pythonMethod · 0.95
assertNotEqualMethod · 0.80

Tested by 15

check_usageMethod · 0.64
pycompilecmdMethod · 0.64
test_gh_120161Method · 0.64
validate_cmdMethod · 0.64
test_atexitMethod · 0.64
test_assert_python_okMethod · 0.64
get_outputMethod · 0.64
assertRunOKMethod · 0.64
fMethod · 0.64