From b4fc5160ba16fe73823324ced839e5c68b7a81eb Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 8 Nov 2025 18:28:41 -0800 Subject: [PATCH] Set FISH_TEST_NO_CURSOR_POSITION_QUERY in pexpect tests This was causing query timeouts with high parallelism in the tests. --- tests/pexpect_helper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pexpect_helper.py b/tests/pexpect_helper.py index 3177aa6cd..70eb080de 100644 --- a/tests/pexpect_helper.py +++ b/tests/pexpect_helper.py @@ -181,6 +181,8 @@ class SpawnedProc(object): self.start_time = None if "FISH_PEXPECT_TESTS_RUNNING" not in env: env["FISH_PEXPECT_TESTS_RUNNING"] = "1" + if "FISH_TEST_NO_CURSOR_POSITION_QUERY" not in env: + env["FISH_TEST_NO_CURSOR_POSITION_QUERY"] = "1" self.spawn = pexpect.spawn( exe_path, env=env, encoding="utf-8", timeout=timeout, **kwargs )