Fix a test failure

This commit is contained in:
Dave Halter
2019-08-03 14:58:57 +02:00
parent 8e1417e3ce
commit 9dd088f3db

View File

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