]> git.eshelyaron.com Git - emacs.git/commit
Backport: Eglot: no more tests based on Pylsp (bug#62694)
authorJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 13:55:01 +0000 (14:55 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 9 Apr 2023 13:34:32 +0000 (15:34 +0200)
commit2a62273f3bfd0240c797e9c294e328e669a24170
treedef7e63987bd27d60c6cc182759e74bb6d620f79
parent11126c6d30aa17c3e672706ed3956f89214aa80f
Backport: Eglot: no more tests based on Pylsp (bug#62694)

The functionality under test in eglot.el is exactly the same, but use
the clangd server only, as that is used in more tests, and it is much
easier to check if it misbehaves or not.

Tests pass with clangd version 15.

* test/lisp/progmodes/eglot-tests.el (python): Don't require it.
(eglot--call-with-fixture): Simplify.
(eglot--wait-for-clangd): New helper.
(eglot-test-basic-completions)
(eglot-test-non-unique-completions, eglot-test-basic-xref)
(eglot-test-snippet-completions)
(eglot-test-snippet-completions-with-company)
(eglot-test-eldoc-after-completions, eglot-test-multiline-eldoc):
Use clangd, not pylsp.
(eglot-test-formatting): Renamed from
eglot-test-python-autopep-formatting.
(eglot-test-python-yapf-formatting): Remove.

(cherry picked from commit fc8230f3362b12955152f48565a6c670b4c4cc88)
test/lisp/progmodes/eglot-tests.el