1
0
forked from VimPlug/jedi

Move isinstance checks back to unary type checks

This commit is contained in:
Laurens Van Houtven
2013-07-11 20:36:00 +02:00
parent 73662fe893
commit 627266b38d
2 changed files with 2 additions and 2 deletions

View File

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