mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 06:31:19 -03:00
Set FISH_TEST_NO_CURSOR_POSITION_QUERY in pexpect tests
This was causing query timeouts with high parallelism in the tests.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user