1
0
forked from VimPlug/jedi

StatementElement instead of Call and Call now inherits from that

This commit is contained in:
David Halter
2013-09-05 21:50:05 +04:30
parent 458497747b
commit 9e54abaf22
5 changed files with 34 additions and 24 deletions

View File

@@ -575,7 +575,7 @@ def _check_isinstance_type(stmt, search_name):
assert isinstance(obj[0], pr.Call)
# names fit?
assert str(obj[0].name) == search_name
assert isinstance(classes[0], pr.Call) # can be type or tuple
assert isinstance(classes[0], pr.StatementElement) # can be type or tuple
except AssertionError:
return []