From 795c70cde708c14c9b477c4b87663ed85fe9f4f8 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Mon, 12 Oct 2015 18:27:18 +0300 Subject: [PATCH] Updated test data --- .../PyCallingNonCallableInspection/callableCheck.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/testData/inspections/PyCallingNonCallableInspection/callableCheck.py b/python/testData/inspections/PyCallingNonCallableInspection/callableCheck.py index 504d93adc176..c565b24b594d 100644 --- a/python/testData/inspections/PyCallingNonCallableInspection/callableCheck.py +++ b/python/testData/inspections/PyCallingNonCallableInspection/callableCheck.py @@ -1,4 +1,7 @@ o = object() if callable(o): o(42, 3.14) -o(-1) +else: + o(-1) + +o(1) # o might be callable here since this line is reachable from the callable() if branch