File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
python_packages/jupyter_lsp/jupyter_lsp/tests Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,7 @@ class NonInstalledRServer(RLanguageServer):
32
32
33
33
34
34
def test_missing_python_module_spec ():
35
- """Prevent failure in module detection raising error:
36
-
37
- Failed to fetch commands from language server spec finder`python-language-server`:
38
- 'NoneType' object has no attribute 'origin'
39
- Traceback (most recent call last):
40
- File "../lib/python3.8/site-packages/jupyter_lsp/manager.py", line 209, in _autodetect_language_servers
41
- specs = spec_finder(self)
42
- File "../lib/python3.8/site-packages/jupyter_lsp/specs/utils.py", line 96, in __call__
43
- if not spec.origin: # pragma: no cover
44
- AttributeError: 'NoneType' object has no attribute 'origin'
45
- """
35
+ """Prevent failure in module detection raising error"""
46
36
47
37
class NonInstalledPythonServer (PythonModuleSpec ):
48
38
python_module = "not_installed_python_module"
You can’t perform that action at this time.
0 commit comments