diff --git a/python/testData/inspections/PyStringFormatInspection/src/string-format.py b/python/testData/inspections/PyStringFormatInspection/src/string-format.py index bec14e2f1a30..6308098f93b1 100644 --- a/python/testData/inspections/PyStringFormatInspection/src/string-format.py +++ b/python/testData/inspections/PyStringFormatInspection/src/string-format.py @@ -34,7 +34,7 @@ i = "test" '%(name)s' % {'name': i} #ok '%s' % i #ok '%f' % i #Unexpected type -'%f' % 2 * i + 5 #ok +'%f' % (2 * i + 5) #ok s = "%s" % "a".upper() #ok x = ['a', 'b', 'c'] print "%d: %s" % (len(x), ", ".join(x)) #ok