Home
last modified time | relevance | path

Searched refs:check_unpickling_error (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dpickletester.py849 def check_unpickling_error(self, errors, data): member in AbstractUnpickleTests
940 self.check_unpickling_error(ValueError, data)
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),
[all …]
/external/python/cpython2/Lib/test/
Dpickletester.py516 def check_unpickling_error(self, errors, data): member in AbstractUnpickleTests
541 self.check_unpickling_error(self.error, 'garyp')
551 self.check_unpickling_error(ValueError, data)
572 self.check_unpickling_error(ValueError, buf)
693 self.check_unpickling_error(self.error, 'g0\np0\n')
694 self.check_unpickling_error(self.error, 'h\x00q\x00')
760 self.check_unpickling_error(self.bad_stack_errors, p)
791 self.check_unpickling_error(self.bad_mark_errors, p)
794 self.check_unpickling_error(EOFError, '')
795 self.check_unpickling_error(EOFError, 'N')
[all …]