Skip to content

Commit 29f817b

Browse files
committed
Remove verbose test docstring
1 parent cdc740d commit 29f817b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

python_packages/jupyter_lsp/jupyter_lsp/tests/test_detect.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,7 @@ class NonInstalledRServer(RLanguageServer):
3232

3333

3434
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"""
4636

4737
class NonInstalledPythonServer(PythonModuleSpec):
4838
python_module = "not_installed_python_module"

0 commit comments

Comments
 (0)