summaryrefslogtreecommitdiff
path: root/tests/functional/s/string/string_formatting_failed_inference_py35.py
blob: a511ff80e5f040d0363417259324f3156eec0a48 (plain)
1
2
3
4
5
6
""" Testing string format with a failed inference. This should not crash. """
# pylint: disable=using-constant-test
import collections
"{dict[0]}".format(dict=collections.defaultdict(int))

COMMENT = "message %s %s %s" % (0, *(1 if "cond" else 2,) * 2)