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