Skip to content

Commit 5eb9baa

Browse files
committed
test(checkpoint): classify Darwin refusal by requested native profile
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
1 parent 6e95b50 commit 5eb9baa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎benchmark/tests/test_native_checkpoint_handoff.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ def response(payload, index, message):
686686
return
687687
assert len(result["checkpoint_handoffs"]) == 1
688688
event = result["checkpoint_handoffs"][0]
689-
if capture == "native" and sys.platform == "darwin":
689+
if json.loads(request.read_text())["native_session"] and sys.platform == "darwin":
690690
# Unsupported native interruption is refused before any signal;
691691
# the original tool result is delivered and no abort is fabricated.
692692
assert not event["captured"] and "not qualified on Darwin" in event["error"]

0 commit comments

Comments
 (0)