]> granicus.if.org Git - python/commitdiff
Add an additional test with a newline, one that's very similar to test_parens_in_expr...
authorJason R. Coombs <jaraco@jaraco.com>
Sun, 6 Nov 2016 16:01:08 +0000 (11:01 -0500)
committerJason R. Coombs <jaraco@jaraco.com>
Sun, 6 Nov 2016 16:01:08 +0000 (11:01 -0500)
Lib/test/test_fstring.py

index 0af93e088feac58153eafefc95b8e2e9751760c6..68aa52663919fad1cdf70cb5721cf898e03ccf0b 100644 (file)
@@ -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):