()
| 4369 | |
| 4370 | #[test] |
| 4371 | fn test_run_python_script() { |
| 4372 | // as above, this should be okay in CI where Python is presumed installed |
| 4373 | let interpreter = make_interpreter_config() |
| 4374 | .expect("could not get InterpreterConfig from installed interpreter"); |
| 4375 | let out = interpreter |
| 4376 | .run_python_script("print(2 + 2)") |
| 4377 | .expect("failed to run Python script"); |
| 4378 | assert_eq!(out.trim_end(), "4"); |
| 4379 | } |
| 4380 | |
| 4381 | #[test] |
| 4382 | fn test_run_python_script_with_envs() { |
nothing calls this directly
no test coverage detected