mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
find_signatures -> get_signatures, see #1476
This commit is contained in:
@@ -220,7 +220,7 @@ def test_param_endings(Script):
|
||||
Params should be represented without the comma and whitespace they have
|
||||
around them.
|
||||
"""
|
||||
sig, = Script('def x(a, b=5, c=""): pass\n x(').find_signatures()
|
||||
sig, = Script('def x(a, b=5, c=""): pass\n x(').get_signatures()
|
||||
assert [p.description for p in sig.params] == ['param a', 'param b=5', 'param c=""']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user