summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fstring.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_fstring.py')
-rw-r--r--Lib/test/test_fstring.py3
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):