Assert that running the interpreter with `args` and optional environment variables `env_vars` succeeds (rc == 0) and return a (return code, stdout, stderr) tuple. If the __cleanenv keyword is set, env_vars is used as a fresh environment. Python is started in isolated mode (com
(*args, **env_vars)
| 169 | |
| 170 | |
| 171 | def assert_python_ok(*args, **env_vars): |
| 172 | """ |
| 173 | Assert that running the interpreter with `args` and optional environment |
| 174 | variables `env_vars` succeeds (rc == 0) and return a (return code, stdout, |
| 175 | stderr) tuple. |
| 176 | |
| 177 | If the __cleanenv keyword is set, env_vars is used as a fresh environment. |
| 178 | |
| 179 | Python is started in isolated mode (command line option -I), |
| 180 | except if the __isolated keyword is set to False. |
| 181 | """ |
| 182 | return _assert_python(True, *args, **env_vars) |
| 183 | |
| 184 | |
| 185 | def assert_python_failure(*args, **env_vars): |
searching dependent graphs…