diff options
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/test/test_fstring.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 2a1a3cd..10c5849 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -296,6 +296,9 @@ f'{a * x()}'""" "f'{!x:a}'", "f'{ !xr:}'", "f'{ !xr:a}'", + + "f'{!}'", + "f'{:}'", ]) def test_parens_in_expressions(self): |
