1
0
forked from VimPlug/jedi

literal classes mostly working

This commit is contained in:
David Halter
2013-09-05 23:45:56 +04:30
parent fc5fdf929a
commit 1b5f4f5e0b
5 changed files with 20 additions and 22 deletions

View File

@@ -563,7 +563,7 @@ def _check_isinstance_type(stmt, search_name):
# this might be removed if we analyze and, etc
assert len(commands) == 1
call = commands[0]
assert type(call) is pr.Call and str(call.name) == 'isinstance'
assert isinstance(call, pr.Call) and str(call.name) == 'isinstance'
assert bool(call.execution)
# isinstance check