[Zodb-checkins] CVS: ZODB3/persistent/tests - test_pickle.py:1.3.2.1
Jim Fulton
jim at zope.com
Sat Feb 7 23:30:53 EST 2004
Update of /cvs-repository/ZODB3/persistent/tests
In directory cvs.zope.org:/tmp/cvs-serv29557/src/persistent/tests
Modified Files:
Tag: zope3-zodb3-devel-branch
test_pickle.py
Log Message:
Changed tests to not test pickle protocol 2.
Protocol 2 exposes a bug in Python 2.3.3 that causes weird
intermittent failures in Zope.
=== ZODB3/persistent/tests/test_pickle.py 1.3 => 1.3.2.1 ===
--- ZODB3/persistent/tests/test_pickle.py:1.3 Mon Dec 29 17:40:50 2003
+++ ZODB3/persistent/tests/test_pickle.py Sat Feb 7 23:30:10 2004
@@ -73,7 +73,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
>>> x.__setstate__({'z': 1})
@@ -123,7 +124,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
"""
@@ -164,7 +166,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
>>> x.s4 = 'spam'
@@ -180,7 +183,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
"""
@@ -217,7 +221,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
>>> x.s4 = 'spam'
@@ -234,7 +239,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
"""
@@ -258,7 +264,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
>>> x.s4 = 'spam'
@@ -275,7 +282,8 @@
1
>>> pickle.loads(pickle.dumps(x, 1)) == x
1
- >>> pickle.loads(pickle.dumps(x, 2)) == x
+
+ XXX disable until Python 2.3.4 >>> pickle.loads(pickle.dumps(x, 2)) == x
1
"""
More information about the Zodb-checkins
mailing list