mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add an additional test with a newline, one that's very similar to test_parens_in_expressions, but because the newline is not a literal newline, but a backslash en, this error is triggered.
This commit is contained in:
@@ -378,6 +378,7 @@ f'{a * x()}'"""
|
||||
r"rf'{\t3}'",
|
||||
r"rf'{\}'",
|
||||
r"""rf'{"\N{LEFT CURLY BRACKET}"}'""",
|
||||
r"f'{\n}'",
|
||||
])
|
||||
|
||||
def test_no_escapes_for_braces(self):
|
||||
|
||||
Reference in New Issue
Block a user