diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 0af93e088fe..68aa5266391 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -378,6 +378,7 @@ def test_no_backslashes_in_expression_part(self): r"rf'{\t3}'", r"rf'{\}'", r"""rf'{"\N{LEFT CURLY BRACKET}"}'""", + r"f'{\n}'", ]) def test_no_escapes_for_braces(self):