From ebe4db78d4645e526414865b7da6f8c1f4bb47ba Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Tue, 20 Oct 2026 17:17:45 +0200 Subject: [PATCH] Test: the calibrate setup test's data_folder stand-in takes the extra arguments --- tools/test_calibrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_calibrate.py b/tools/test_calibrate.py index defa9432..97e33597 100644 --- a/tools/test_calibrate.py +++ b/tools/test_calibrate.py @@ -442,7 +442,7 @@ class SetupIntegration(unittest.TestCase): self.assertNotIn("an earlier start", out.getvalue()) out = io.StringIO() with mock.patch.object(self.S, "ROOT", Path(self.tmp.name)), \ - mock.patch.object(self.S, "data_folder", lambda d: (Path(self.tmp.name) / "data", [])), \ + mock.patch.object(self.S, "data_folder", lambda d, *a, **k: (Path(self.tmp.name) / "data", [])), \ mock.patch.object(self.S, "update_installed_engine", lambda *a: None), \ mock.patch.object(sys, "argv", ["setup.py", "--calibrate", "--no-start"]), \ contextlib.redirect_stdout(out):