diff options
Diffstat (limited to 'dev-python/jedi/files/jedi-0.17.0-tests.patch')
-rw-r--r-- | dev-python/jedi/files/jedi-0.17.0-tests.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/jedi/files/jedi-0.17.0-tests.patch b/dev-python/jedi/files/jedi-0.17.0-tests.patch new file mode 100644 index 000000000000..d045340d0930 --- /dev/null +++ b/dev-python/jedi/files/jedi-0.17.0-tests.patch @@ -0,0 +1,26 @@ +From 57f2a731d2e5c4fe5794d823154983e44e8df003 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Wed, 15 Apr 2020 07:54:01 +0200 +Subject: [PATCH] Sort test_project::test_search results to fix failures + +Fixes #1542 +--- + test/test_api/test_project.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test_api/test_project.py b/test/test_api/test_project.py +index a7d4846e..c21579a5 100644 +--- a/test/test_api/test_project.py ++++ b/test/test_api/test_project.py +@@ -135,7 +135,7 @@ def test_search(string, full_names, kwargs, skip_pre_python36): + defs = project.complete_search(string, **kwargs) + else: + defs = project.search(string, **kwargs) +- assert [('stub:' if d.is_stub() else '') + d.full_name for d in defs] == full_names ++ assert sorted([('stub:' if d.is_stub() else '') + d.full_name for d in defs]) == full_names + + + @pytest.mark.parametrize( +-- +2.26.0 + |