mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/python-lsp-server: fix the tests (again)
See https://github.com/python-lsp/python-lsp-server/pull/9 Closes: https://bugs.gentoo.org/791166 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
diff --git a/test/plugins/test_folding.py b/test/plugins/test_folding.py
|
||||
index 57d6e2e..cef4583 100644
|
||||
--- a/test/plugins/test_folding.py
|
||||
+++ b/test/plugins/test_folding.py
|
||||
@@ -147,9 +147,6 @@ def test_folding(workspace):
|
||||
{'startLine': 62, 'endLine': 63},
|
||||
{'startLine': 64, 'endLine': 65},
|
||||
{'startLine': 67, 'endLine': 68}]
|
||||
- if sys.version_info[:2] >= (3, 9):
|
||||
- # the argument list of the decorator is also folded in Python >= 3.9
|
||||
- expected.insert(4, {'startLine': 9, 'endLine': 10})
|
||||
|
||||
assert ranges == expected
|
||||
|
||||
@@ -45,7 +45,6 @@ RDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/pyls-fix-test_folding.patch"
|
||||
"${FILESDIR}/pyls-fix-test-with-pylint28.patch"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user