(self)
| 2820 | self.assertIs(x.state[0], x) |
| 2821 | |
| 2822 | def test_unicode(self): |
| 2823 | endcases = ['', '<\\u>', '<\\\u1234>', '<\n>', |
| 2824 | '<\\>', '<\\\U00012345>', |
| 2825 | # surrogates |
| 2826 | '<\udc80>'] |
| 2827 | for proto in protocols: |
| 2828 | for u in endcases: |
| 2829 | p = self.dumps(u, proto) |
| 2830 | u2 = self.loads(p) |
| 2831 | self.assert_is_copy(u, u2) |
| 2832 | |
| 2833 | def test_unicode_high_plane(self): |
| 2834 | t = '\U00012345' |
nothing calls this directly
no test coverage detected