Skip to content

Commit 1a891eb

Browse files
committed
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).
1 parent 3853b96 commit 1a891eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/plugins/test_completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_jedi_completion_with_fuzzy_enabled(config, workspace) -> None:
181181

182182
assert items
183183

184-
expected = "isabs(s)"
184+
expected = "commonprefix(m)" if JEDI_VERSION < "0.19.2" else "isabs(s)"
185185
assert items[0]["label"] == expected
186186

187187
# Test we don't throw with big character

0 commit comments

Comments
 (0)