From 1a891ebebd496a686ef9c5e7ed0068422b742777 Mon Sep 17 00:00:00 2001 From: "Aeliton G. Silva" Date: Thu, 27 Nov 2025 22:28:10 -0300 Subject: [PATCH] Adjust unit test expectation based on jedi version The current supported versions of jedi supported by the project as stated in pyproject.py are "jedi>=0.17.2,<0.20.0", but the unit tests are fixed to work only with >=0.19.2 (see PR #609). --- test/plugins/test_completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/test_completion.py b/test/plugins/test_completion.py index 015d0c43..ae5021f5 100644 --- a/test/plugins/test_completion.py +++ b/test/plugins/test_completion.py @@ -181,7 +181,7 @@ def test_jedi_completion_with_fuzzy_enabled(config, workspace) -> None: assert items - expected = "isabs(s)" + expected = "commonprefix(m)" if JEDI_VERSION < "0.19.2" else "isabs(s)" assert items[0]["label"] == expected # Test we don't throw with big character