(self)
| 1692 | self.assertEqual(x, 10) |
| 1693 | |
| 1694 | def test_invalid_syntax_error_message(self): |
| 1695 | with self.assertRaisesRegex(SyntaxError, |
| 1696 | "f-string: expecting '=', or '!', or ':', or '}'"): |
| 1697 | compile("f'{a $ b}'", "?", "exec") |
| 1698 | |
| 1699 | def test_with_two_commas_in_format_specifier(self): |
| 1700 | error_msg = re.escape("Cannot specify ',' with ','.") |
nothing calls this directly
no test coverage detected