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

Method test_encode_strict

Lib/test/test_codecs.py:3765–3766  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3763 self.assertEqual(encoded, expected)
3764
3765 def test_encode_strict(self):
3766 self.check_encode_strings("strict")
3767
3768 def test_encode_surrogateescape(self):
3769 self.check_encode_strings("surrogateescape")

Callers

nothing calls this directly

Calls 1

check_encode_stringsMethod · 0.95

Tested by

no test coverage detected