(self)
| 2590 | # XXX test __reduce__ protocol? |
| 2591 | |
| 2592 | def test_roundtrip_equality(self): |
| 2593 | if self.py_version < (3, 0): |
| 2594 | self.skipTest('"classic" classes are not interoperable with Python 2') |
| 2595 | expected = self._testdata |
| 2596 | for proto in protocols: |
| 2597 | s = self.dumps(expected, proto) |
| 2598 | got = self.loads(s) |
| 2599 | self.assert_is_copy(expected, got) |
| 2600 | |
| 2601 | # There are gratuitous differences between pickles produced by |
| 2602 | # pickle and cPickle, largely because cPickle starts PUT indices at |
nothing calls this directly
no test coverage detected