Lines Matching refs:UnpicklingError
1025 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
1032 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
1040 self.check_unpickling_error(pickle.UnpicklingError, b'g0\np0')
1041 self.check_unpickling_error(pickle.UnpicklingError, b'jens:')
1042 self.check_unpickling_error(pickle.UnpicklingError, b'hens:')
1061 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
1067 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
1073 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
1130 self.check_unpickling_error(pickle.UnpicklingError, p)
1181 error = (pickle.UnpicklingError, TypeError)
1187 error = (pickle.UnpicklingError, TypeError)
1987 self.assertRaises((TypeError, pickle.UnpicklingError), self.loads, b)
2762 with self.assertRaises(pickle.UnpicklingError):
2816 with self.assertRaises(pickle.UnpicklingError):
3181 self.assertRaises((EOFError, struct.error, pickle.UnpicklingError), self.load, s)
3193 self.assertRaises(pickle.UnpicklingError, BadUnpickler().load)
3214 with self.assertRaises(pickle.UnpicklingError):
3303 self.assertRaises(pickle.UnpicklingError, self.loads, pickled)