1
0
forked from VimPlug/jedi

find_signatures -> get_signatures, see #1476

This commit is contained in:
Dave Halter
2020-01-22 01:10:38 +01:00
parent 58f54d8391
commit 8cc836e816
15 changed files with 66 additions and 66 deletions

View File

@@ -3,12 +3,12 @@ Test all things related to the ``jedi.cache`` module.
"""
def test_cache_find_signatures(Script):
def test_cache_get_signatures(Script):
"""
See github issue #390.
"""
def check(column, call_name, path=None):
assert Script(s, path=path).find_signatures(1, column)[0].name == call_name
assert Script(s, path=path).get_signatures(1, column)[0].name == call_name
s = 'str(int())'
@@ -26,4 +26,4 @@ def test_cache_find_signatures(Script):
def test_cache_line_split_issues(Script):
"""Should still work even if there's a newline."""
assert Script('int(\n').find_signatures()[0].name == 'int'
assert Script('int(\n').get_signatures()[0].name == 'int'