https://hg.python.org/cpython/rev/5a6d4fc4224f changeset: 98220:5a6d4fc4224f user: Eric V. Smith <eric at trueblade.com> date: Wed Sep 23 08:00:01 2015 -0400 summary: Added more f-string test for empty expressions. files: 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 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -296,6 +296,9 @@ "f'{!x:a}'", "f'{ !xr:}'", "f'{ !xr:a}'", + + "f'{!}'", + "f'{:}'", ]) def test_parens_in_expressions(self): -- Repository URL: https://hg.python.org/cpython