(self)
| 3831 | self.assertEqual(obj, unpickled) |
| 3832 | |
| 3833 | def test_appends_on_non_lists(self): |
| 3834 | # Issue #17720 |
| 3835 | obj = REX_six([1, 2, 3]) |
| 3836 | for proto in protocols: |
| 3837 | with self.subTest(proto=proto): |
| 3838 | if proto == 0: |
| 3839 | self._check_pickling_with_opcode(obj, pickle.APPEND, proto) |
| 3840 | else: |
| 3841 | if self.py_version < (3, 0): |
| 3842 | self.skipTest('not supported in Python 2') |
| 3843 | self._check_pickling_with_opcode(obj, pickle.APPENDS, proto) |
| 3844 | |
| 3845 | def test_setitems_on_non_dicts(self): |
| 3846 | obj = REX_seven({1: -1, 2: -2, 3: -3}) |
nothing calls this directly
no test coverage detected