MCPcopy Index your code
hub / github.com/python/cpython / test_encode_strict

Method test_encode_strict

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

Source from the content-addressed store, hash-verified

3750 self.assertEqual(encoded, expected)
3751
3752 def test_encode_strict(self):
3753 self.check_encode_strings("strict")
3754
3755 def test_encode_surrogateescape(self):
3756 self.check_encode_strings("surrogateescape")

Callers

nothing calls this directly

Calls 1

check_encode_stringsMethod · 0.95

Tested by

no test coverage detected