(self)
| 658 | raises_syntax_or_memory_error("f'{" + "("*10_000 + "}'") |
| 659 | |
| 660 | def test_syntax_error_in_nested_fstring(self): |
| 661 | # See gh-104016 for more information on this crash |
| 662 | self.assertAllRaise(SyntaxError, |
| 663 | "invalid syntax", |
| 664 | ['f"{1 1:' + ('{f"1:' * 199)]) |
| 665 | |
| 666 | def test_double_braces(self): |
| 667 | self.assertEqual(f'{{', '{') |
nothing calls this directly
no test coverage detected