From 81772f1ee2d80b02e882e1132d5751fe0852e023 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 29 Nov 2015 19:20:11 +0200 Subject: Trying to fix test_xpickle with python 2.4 and 2.5. --- Lib/test/pickletester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index 267d3f0..2e4c2c1 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py @@ -723,8 +723,8 @@ class AbstractUnpickleTests(unittest.TestCase): self.check_unpickling_error(self.bad_mark_errors, p) def test_truncated_data(self): - self.check_unpickling_error(EOFError, b'') - self.check_unpickling_error(EOFError, b'N') + self.check_unpickling_error(EOFError, '') + self.check_unpickling_error(EOFError, 'N') badpickles = [ 'F', # FLOAT 'F0.0', -- cgit v0.12