summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-20 10:46:04 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-20 10:47:05 +0200
commit6f77ea71c35f2bcea2d61d4e4706f489940ce138 (patch)
treef42fab60a66fb340b9cd649b76fdcdcf47bb45bf /dev-python/python-lsp-server
parentnet-proxy/haproxy-dataplaneapi: Bump to 2.3.0 (diff)
downloadgentoo-6f77ea71c35f2bcea2d61d4e4706f489940ce138.tar.gz
gentoo-6f77ea71c35f2bcea2d61d4e4706f489940ce138.tar.bz2
gentoo-6f77ea71c35f2bcea2d61d4e4706f489940ce138.zip
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>
Diffstat (limited to 'dev-python/python-lsp-server')
-rw-r--r--dev-python/python-lsp-server/files/pyls-fix-test_folding.patch14
-rw-r--r--dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild1
2 files changed, 0 insertions, 15 deletions
diff --git a/dev-python/python-lsp-server/files/pyls-fix-test_folding.patch b/dev-python/python-lsp-server/files/pyls-fix-test_folding.patch
deleted file mode 100644
index d70f2b23d4be..000000000000
--- a/dev-python/python-lsp-server/files/pyls-fix-test_folding.patch
+++ /dev/null
@@ -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
-
diff --git a/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild
index bacdb5db84ff..ef8e5c76b266 100644
--- a/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild
+++ b/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild
@@ -45,7 +45,6 @@ RDEPEND="
"
PATCHES=(
- "${FILESDIR}/pyls-fix-test_folding.patch"
"${FILESDIR}/pyls-fix-test-with-pylint28.patch"
)