File: skip-pyenv-test.patch

package info (click to toggle)
python-language-server 0.36.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,196 kB
  • sloc: python: 5,314; sh: 12; makefile: 6
file content (22 lines) | stat: -rw-r--r-- 836 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/test/plugins/test_completion.py
+++ b/test/plugins/test_completion.py
@@ -308,7 +308,7 @@
     assert completions[0]['label'] == 'spam()'
 
 
-@pytest.mark.skipif(PY2 or not LINUX or not CI, reason="tested on linux and python 3 only")
+@pytest.mark.skip(reason="relies on specific jedi environment")
 def test_jedi_completion_environment(workspace):
     # Content of doc to test completion
     doc_content = '''import logh
--- a/test/plugins/test_symbols.py
+++ b/test/plugins/test_symbols.py
@@ -78,7 +78,7 @@
     helper_check_symbols_all_scope(symbols)
 
 
-@pytest.mark.skipif(PY2 or not LINUX or not CI, reason="tested on linux and python 3 only")
+@pytest.mark.skip(reason="relies on specific jedi environment")
 def test_symbols_all_scopes_with_jedi_environment(workspace):
     doc = Document(DOC_URI, workspace, DOC)