mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 09:46:24 +02:00
update unittest
This commit is contained in:
parent
3fded9b6e0
commit
932a26cbb3
1 changed files with 1 additions and 1 deletions
|
|
@ -96,4 +96,4 @@ async def test_run_with_timeout():
|
|||
code = "import time; time.sleep(2)"
|
||||
message, success = await pi.run(code)
|
||||
assert not success
|
||||
assert message == "TimeoutError"
|
||||
assert message.startswith("Cell execution timed out")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue