Commit b2080f65 authored by Eric V. Smith's avatar Eric V. Smith

f-strings: More tests for empty expressions along with missing closing braces.

parent 548c4d31
......@@ -299,6 +299,13 @@ f'{a * x()}'"""
"f'{!}'",
"f'{:}'",
# We find the empty expression before the
# missing closing brace.
"f'{!'",
"f'{!s:'",
"f'{:'",
"f'{:x'",
])
def test_parens_in_expressions(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment