The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: side effect of linter fixes
Maciej Lisiewskid95e35fe0fb8
diff --git a/tests/scripts/test_bundle_native.py b/tests/scripts/test_bundle_native.pyindex deca7222d7b..1f70735b5ae 100644--- a/tests/scripts/test_bundle_native.py+++ b/tests/scripts/test_bundle_native.py@@ -620,7 +620,7 @@ def test_native_dispatch_child_environment(tmp_path, monkeypatch, cache_source,before, run, homes = dict(os.environ), subprocess.run, []observed = tmp_path / "child.json"- def child(command, *, cwd, env):+ def child(command, *, cwd, env, check):assert command[command.index("-m") + 1] == "scripts.bundles.native"return run([sys.executable, "-c","import os,json,sys; from pathlib import Path; "@@ -628,7 +628,7 @@ def test_native_dispatch_child_environment(tmp_path, monkeypatch, cache_source,"assert all((Path(os.environ[k])/'fixture-state').read_text() == k for k in ('CARGO_HOME','RUSTUP_HOME')); ""p=Path(os.environ['UV_CACHE_DIR']); p.mkdir(parents=True,exist_ok=True); ""f=p/'reused'; f.write_text(f.read_text()+'x' if f.exists() else 'x'); sys.exit(int(sys.argv[2]))",- str(observed), str(status)], cwd=cwd, env=env)+ str(observed), str(status)], cwd=cwd, env=env, check=check)monkeypatch.setattr(native.subprocess, "run", child)out = tmp_path / "payload"