(self)
| 1708 | |
| 1709 | @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "f-string: expecting '=', or '!', or ':', or '}'" does not match "invalid syntax (?, line 1)" |
| 1710 | def test_invalid_syntax_error_message(self): |
| 1711 | with self.assertRaisesRegex(SyntaxError, |
| 1712 | "f-string: expecting '=', or '!', or ':', or '}'"): |
| 1713 | compile("f'{a $ b}'", "?", "exec") |
| 1714 | |
| 1715 | def test_with_two_commas_in_format_specifier(self): |
| 1716 | error_msg = re.escape("Cannot specify ',' with ','.") |
nothing calls this directly
no test coverage detected