Assert that running the interpreter with `args` and optional environment variables `env_vars` fails (rc != 0) and return a (return code, stdout, stderr) tuple. See assert_python_ok() for more options.
(*args, **env_vars)
| 183 | |
| 184 | |
| 185 | def assert_python_failure(*args, **env_vars): |
| 186 | """ |
| 187 | Assert that running the interpreter with `args` and optional environment |
| 188 | variables `env_vars` fails (rc != 0) and return a (return code, stdout, |
| 189 | stderr) tuple. |
| 190 | |
| 191 | See assert_python_ok() for more options. |
| 192 | """ |
| 193 | return _assert_python(False, *args, **env_vars) |
| 194 | |
| 195 | |
| 196 | @support.requires_subprocess() |
searching dependent graphs…