Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
f
/
formatted_string_literal_with_if_py36.py
blob: 8feb4e293efc5a66570660ea19b4eae439b5d803 [
file
] [
log
] [
blame
]
"""Test that `if` in formatted string literal won't break Pylint."""
# pylint: disable=missing-docstring, pointless-statement, using-constant-test
f
'{"+" if True else "-"}'
if
True
:
pass
elif
True
:
pass