From d95e35fe0fb88913a7a8e84f79e4e2ee03f1f7d0 Mon Sep 17 00:00:00 2001 From: Maciej Lisiewski Date: Fri, 9 Oct 2026 20:46:55 +0200 Subject: [PATCH] fix: side effect of linter fixes --- tests/scripts/test_bundle_native.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/test_bundle_native.py b/tests/scripts/test_bundle_native.py index deca7222d7..1f70735b5a 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"