commit:     6f77ea71c35f2bcea2d61d4e4706f489940ce138
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 08:46:04 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 20 08:47:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f77ea71

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 <AT> gentoo.org>

 .../python-lsp-server/files/pyls-fix-test_folding.patch    | 14 --------------
 .../python-lsp-server/python-lsp-server-1.0.1.ebuild       |  1 -
 2 files changed, 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 d70f2b23d4b..00000000000
--- 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 bacdb5db84f..ef8e5c76b26 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"
 )
 

Reply via email to