summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-29 17:20:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-29 17:20:11 (GMT)
commit81772f1ee2d80b02e882e1132d5751fe0852e023 (patch)
treea1af27716655a6e7161884f2482671204b4cfed4
parent3c8ef8f1003497711e0a3fa0002046c8e57d1e36 (diff)
downloadcpython-81772f1ee2d80b02e882e1132d5751fe0852e023.zip
cpython-81772f1ee2d80b02e882e1132d5751fe0852e023.tar.gz
cpython-81772f1ee2d80b02e882e1132d5751fe0852e023.tar.bz2
Trying to fix test_xpickle with python 2.4 and 2.5.
-rw-r--r--Lib/test/pickletester.py4
1 files 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',