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:
Andrew Ammerlaan
2021-05-20 10:46:04 +02:00
parent bd7fb4f44c
commit 6f77ea71c3
2 changed files with 0 additions and 15 deletions

View File

@@ -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

View File

@@ -45,7 +45,6 @@ RDEPEND="
"
PATCHES=(
"${FILESDIR}/pyls-fix-test_folding.patch"
"${FILESDIR}/pyls-fix-test-with-pylint28.patch"
)