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

Method test_unicode_high_plane

Lib/test/pickletester.py:3003–3008  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3001 self.assert_is_copy(u, u2)
3002
3003 def test_unicode_high_plane(self):
3004 t = '\U00012345'
3005 for proto in protocols:
3006 p = self.dumps(t, proto)
3007 t2 = self.loads(p)
3008 self.assert_is_copy(t, t2)
3009
3010 def test_unicode_memoization(self):
3011 # Repeated str is re-used (even when escapes added).

Callers

nothing calls this directly

Calls 3

assert_is_copyMethod · 0.80
dumpsMethod · 0.45
loadsMethod · 0.45

Tested by

no test coverage detected