From 266330c815371d01c5154c2168d5a7bacde6e060 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 15 Mar 2014 14:21:23 +0100 Subject: [PATCH] removed some deprecated calls --- test/test_api/test_call_signatures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_api/test_call_signatures.py b/test/test_api/test_call_signatures.py index a8abddfa..8b158f28 100644 --- a/test/test_api/test_call_signatures.py +++ b/test/test_api/test_call_signatures.py @@ -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']