From 72b4c8bd9f21d2eae3bb5aad14f37f3300cf9011 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 8 Jul 2017 14:10:59 +0200 Subject: [PATCH] The normalize function is private for now. --- jedi/evaluate/finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi/evaluate/finder.py b/jedi/evaluate/finder.py index 5ddd89e6..fd8704ed 100644 --- a/jedi/evaluate/finder.py +++ b/jedi/evaluate/finder.py @@ -348,7 +348,7 @@ def _check_isinstance_type(context, element, search_name): is_instance_call = helpers.call_of_leaf(lazy_context_object.data) # Do a simple get_code comparison. They should just have the same code, # and everything will be all right. - assert is_instance_call.normalize() == call.normalize() + assert is_instance_call._normalize() == call._normalize() except AssertionError: return None