Skip to content

Commit 0953050

Browse files
committed
✅ Enhance test readability and modify image file extension in tests
1 parent bc22070 commit 0953050

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/general_test.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ def run_sync(session: CodeInterpreterSession) -> bool:
2626
assert (
2727
"3.1"
2828
in session.generate_response(
29-
"Compute pi using Monte Carlo simulation in Python and show me the result."
29+
"Compute pi using Monte Carlo simulation in "
30+
"Python and show me the result."
3031
).content
3132
)
3233

@@ -63,7 +64,8 @@ async def run_async(session: CodeInterpreterSession) -> bool:
6364
"3.1"
6465
in (
6566
await session.agenerate_response(
66-
"Compute pi using Monte Carlo simulation in Python and show me the result."
67+
"Compute pi using Monte Carlo simulation in "
68+
"Python and show me the result."
6769
)
6870
).content
6971
)
@@ -81,7 +83,7 @@ async def run_async(session: CodeInterpreterSession) -> bool:
8183
)
8284

8385
assert (
84-
".jpeg"
86+
".png"
8587
in (
8688
await session.agenerate_response(
8789
"Plot the current stock price of Tesla.",

0 commit comments

Comments
 (0)