mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-12 15:20:14 +08:00
removed some deprecated calls
This commit is contained in:
1 parent
c7fc13743f
commit
266330c815
1 file changed
+2
-2
@@ -15,7 +15,7 @@ class TestCallSignatures(TestCase):
|
||||
if not signatures:
|
||||
assert expected_name is None
|
||||
else:
|
||||
assert signatures[0].call_name == expected_name
|
||||
assert signatures[0].name == expected_name
|
||||
assert signatures[0].index == expected_index
|
||||
|
||||
def _run_simple(self, source, name, index=0, column=None, line=1):
|
||||
@@ -158,7 +158,7 @@ class TestCallSignatures(TestCase):
|
||||
|
||||
signatures = Script(s).call_signatures()
|
||||
assert len(signatures) == 1
|
||||
x = [p.get_code() for p in signatures[0].params]
|
||||
x = [p.description for p in signatures[0].params]
|
||||
assert x == ['*args']
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user