MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_unicode_in_error_message

Method test_unicode_in_error_message

Lib/test/test_format.py:558–562  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

556
557 @unittest.expectedFailure # TODO: RUSTPYTHON
558 def test_unicode_in_error_message(self):
559 str_err = re.escape(
560 "Invalid format specifier '%ЫйЯЧ' for object of type 'str'")
561 with self.assertRaisesRegex(ValueError, str_err):
562 "{a:%ЫйЯЧ}".format(a='a')
563
564 @unittest.expectedFailure # TODO: RUSTPYTHON
565 def test_negative_zero(self):

Callers

nothing calls this directly

Calls 3

escapeMethod · 0.80
assertRaisesRegexMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected