PyDocs

Nav

Development Tools

assert_python_failure

  • assert_python_failure(*args, **env_vars)
Assert that running the interpreter with args and optional environment variables env_vars fails (rc != 0) and return a (return code, stdout, stderr) tuple.
Changed in 3.9
  • 3.9: The function no longer strips whitespaces from stderr.
0 Examples
No examples for test.support.script_helper/assert_python_failure.
See Also
No see-alsos for test.support.script_helper/assert_python_failure
0 Notes
No notes for assert_python_failure