Lines Matching refs:check_unpickling_error
687 def check_unpickling_error(self, errors, data): member in AbstractUnpickleTests
778 self.check_unpickling_error(ValueError, data)
863 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
870 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
878 self.check_unpickling_error(KeyError, b'g0\np0')
893 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
899 self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
929 self.check_unpickling_error(ValueError, dumped)
935 self.check_unpickling_error(ValueError, dumped)
938 self.check_unpickling_error(ValueError, b"S'\\'\n.")
956 self.check_unpickling_error(pickle.UnpicklingError, p)
1049 self.check_unpickling_error(self.bad_stack_errors, p)
1088 self.check_unpickling_error(self.bad_stack_errors, p)
1091 self.check_unpickling_error(EOFError, b'')
1092 self.check_unpickling_error(EOFError, b'N')
1179 self.check_unpickling_error(self.truncated_errors, p)