This commit is contained in:
lda
2026-08-31 19:49:17 +07:00 Verified
parent c2c41ea9ce
commit d9ef330beb
9 changed files with 27 additions and 28 deletions
+2 -4
View File
@@ -211,12 +211,10 @@ class AsyncTransportTests(unittest.IsolatedAsyncioTestCase):
await transport.start()
try:
call_id = await transport.execute(
"import matplotlib.pyplot as plt\n"
"plt.plot([1, 2, 3], [4, 5, 6])"
"import matplotlib.pyplot as plt\nplt.plot([1, 2, 3], [4, 5, 6])"
)
messages = [
message
async for message in transport.messages_for(call_id)
message async for message in transport.messages_for(call_id)
]
finally:
await transport.shutdown()