Skip to content

Commit 88b74f7

Browse files
Copilotmoonbox3
andauthored
Fix Hyperlight rejected output cleanup test
Co-authored-by: moonbox3 <[email protected]>
1 parent 3195368 commit 88b74f7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎python/packages/hyperlight/tests/hyperlight/test_hyperlight_codeact.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,8 +1299,7 @@ async def test_execute_code_tool_clears_output_after_rejection(
12991299
contents = await execute_code.invoke(arguments={"code": "create-memory-output"})
13001300

13011301
_assert_bounded_output_error(contents, "per-file output limit")
1302-
remaining_outputs = await asyncio.to_thread(lambda: list(output_root.iterdir()))
1303-
assert remaining_outputs == []
1302+
assert not output_root.exists()
13041303
finally:
13051304
_close_execute_code_registry(execute_code)
13061305

0 commit comments

Comments
 (0)