We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1833875 commit 48f5ecaCopy full SHA for 48f5eca
test/plugins/test_hover.py
@@ -46,9 +46,13 @@ def test_numpy_hover(workspace):
46
contents = 'NumPy\n=====\n\nProvides\n'
47
assert contents in pyls_hover(doc, numpy_hov_position_3)['contents'][0]
48
49
- contents = 'Trigonometric sine, element-wise.\n\n'
50
- assert contents in pyls_hover(
51
- doc, numpy_sin_hov_position)['contents'][0]
+ # https://github.com/davidhalter/jedi/issues/1746
+ import numpy as np
+
52
+ if np.lib.NumpyVersion(np.__version__) < '1.20.0':
53
+ contents = 'Trigonometric sine, element-wise.\n\n'
54
+ assert contents in pyls_hover(
55
+ doc, numpy_sin_hov_position)['contents'][0]
56
57
58
def test_hover(workspace):
0 commit comments