1
0
forked from VimPlug/jedi

fix abroken test

This commit is contained in:
Dave Halter
2014-04-02 16:01:39 +02:00
parent a66f8e5a0b
commit 69364c598f

View File

@@ -193,7 +193,8 @@ def test_signature_is_definition():
# Now compare all the attributes that a CallSignature must also have.
for attr_name in dir(definition):
dont_scan = ['defined_names', 'line_nr', 'start_pos', 'documentation', 'doc']
dont_scan = ['defined_names', 'line_nr', 'start_pos', 'documentation',
'doc', 'parent']
if attr_name.startswith('_') or attr_name in dont_scan:
continue
attribute = getattr(definition, attr_name)