(self)
| 706 | eval("f'xx{value:{bad_format_spec}}yy'") |
| 707 | |
| 708 | def test_unicode_in_error_message(self): |
| 709 | str_err = re.escape( |
| 710 | "Invalid format specifier '%ЫйЯЧ' for object of type 'str'") |
| 711 | with self.assertRaisesRegex(ValueError, str_err): |
| 712 | "{a:%ЫйЯЧ}".format(a='a') |
| 713 | |
| 714 | def test_negative_zero(self): |
| 715 | ## default behavior |
nothing calls this directly
no test coverage detected