mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 06:43:46 +08:00
Merge remote-tracking branch 'origin/master' into typeshed
This commit is contained in:
commit
249564d6ea
6 files changed
+46
-1
No files matched your search
@@ -142,6 +142,16 @@ def test_docstring_keyword(Script):
|
||||
assert 'assert' in completions[0].docstring()
|
||||
|
||||
|
||||
def test_docstring_params_formatting(Script):
|
||||
defs = Script("""
|
||||
def func(param1,
|
||||
param2,
|
||||
param3):
|
||||
pass
|
||||
func""").goto_definitions()
|
||||
assert defs[0].docstring() == 'func(param1, param2, param3)'
|
||||
|
||||
|
||||
# ---- Numpy Style Tests ---
|
||||
|
||||
@pytest.mark.skipif(numpydoc_unavailable,
|
||||
|
||||
Reference in new issue
Block a user