(self)
| 974 | |
| 975 | @requires_32b |
| 976 | def test_negative_32b_binunicode(self): |
| 977 | # On 32-bit builds, a BINUNICODE of 2**31 or more is refused |
| 978 | dumped = b'\x80\x03X\xff\xff\xff\xffxyzq\x00.' |
| 979 | self.check_unpickling_error((pickle.UnpicklingError, OverflowError), |
| 980 | dumped) |
| 981 | |
| 982 | def test_short_binunicode(self): |
| 983 | dumped = b'\x80\x04\x8c\x04\xe2\x82\xac\x00.' |
nothing calls this directly
no test coverage detected