(self)
| 3159 | self.assertEqual(loaded, REDUCE_A) |
| 3160 | |
| 3161 | def test_getinitargs(self): |
| 3162 | if self.py_version < (3, 0): |
| 3163 | self.skipTest('"classic" classes are not interoperable with Python 2') |
| 3164 | for proto in protocols: |
| 3165 | inst = initarg(1, 2) |
| 3166 | dumped = self.dumps(inst, proto) |
| 3167 | loaded = self.loads(dumped) |
| 3168 | self.assert_is_copy(inst, loaded) |
| 3169 | |
| 3170 | def test_metaclass(self): |
| 3171 | self.assertEqual(type(use_metaclass), metaclass) |
nothing calls this directly
no test coverage detected