Added more f-string test for empty expressions.
This commit is contained in:
parent
1d44c41b0c
commit
548c4d3178
|
@ -296,6 +296,9 @@ f'{a * x()}'"""
|
||||||
"f'{!x:a}'",
|
"f'{!x:a}'",
|
||||||
"f'{ !xr:}'",
|
"f'{ !xr:}'",
|
||||||
"f'{ !xr:a}'",
|
"f'{ !xr:a}'",
|
||||||
|
|
||||||
|
"f'{!}'",
|
||||||
|
"f'{:}'",
|
||||||
])
|
])
|
||||||
|
|
||||||
def test_parens_in_expressions(self):
|
def test_parens_in_expressions(self):
|
||||||
|
|
Loading…
Reference in New Issue