Make sure that goto is used instead of goto_assignments

This commit is contained in:
Dave Halter
2019-12-20 14:30:34 +01:00
parent afbd8cad89
commit 1f4be4bc51
2 changed files with 12 additions and 4 deletions

View File

@@ -316,7 +316,7 @@ def test_signature_is_definition(Script):
# Now compare all the attributes that a CallSignature must also have.
for attr_name in dir(definition):
dont_scan = ['defined_names', 'parent', 'goto_assignments', 'infer',
'params', 'get_signatures', 'execute']
'params', 'get_signatures', 'execute', 'goto']
if attr_name.startswith('_') or attr_name in dont_scan:
continue