summaryrefslogtreecommitdiff
path: root/dev-python/python-lsp-server/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-lsp-server/files')
-rw-r--r--dev-python/python-lsp-server/files/python-lsp-server-1.12.0-jedi19-compat.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.12.0-jedi19-compat.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.12.0-jedi19-compat.patch
new file mode 100644
index 000000000000..b5dd4c352dbb
--- /dev/null
+++ b/dev-python/python-lsp-server/files/python-lsp-server-1.12.0-jedi19-compat.patch
@@ -0,0 +1,16 @@
+https://github.com/python-lsp/python-lsp-server/pull/609
+diff --git a/test/plugins/test_completion.py b/test/plugins/test_completion.py
+index d1ca5ef8..3e768f06 100644
+--- a/test/plugins/test_completion.py
++++ b/test/plugins/test_completion.py
+@@ -179,9 +179,7 @@ def test_jedi_completion_with_fuzzy_enabled(config, workspace) -> None:
+
+ assert items
+
+- expected = "commonprefix(m)"
+- if JEDI_VERSION == "0.18.0":
+- expected = "commonprefix(list)"
++ expected = "isabs(s)"
+ assert items[0]["label"] == expected
+
+ # Test we don't throw with big character