File tree Expand file tree Collapse file tree
code-interpreter/tests/integration_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 docker stop test-container || true
8383
8484 - name : Run integration tests
85- run : uv run pytest tests/integration_tests -v --tb=short -x
85+ run : uv run pytest tests/integration_tests -v --tb=short -x -s
8686
8787 - name : Show Docker container logs on failure
8888 if : failure()
Original file line number Diff line number Diff line change @@ -50,8 +50,11 @@ def test_numpy_pandas_matplotlib_stack() -> None:
5050
5151 assert response .status_code == 200
5252 payload = response .json ()
53- assert payload ["stderr" ] == ""
54- assert payload ["exit_code" ] == 0
53+ print (f"DEBUG: Full payload: { payload } " )
54+ assert payload ["stderr" ] == "" , f"stderr was: { payload ['stderr' ]} "
55+ assert payload ["exit_code" ] == 0 , (
56+ f"exit_code was: { payload ['exit_code' ]} , timed_out: { payload .get ('timed_out' )} "
57+ )
5558 assert payload ["timed_out" ] is False
5659
5760 stdout = payload ["stdout" ].strip ()
You can’t perform that action at this time.
0 commit comments