[Python-checkins] CVS: python/dist/src/Lib/test pickletester.py,1.10,1.11
Guido van Rossum
gvanrossum@users.sourceforge.net
Wed, 19 Dec 2001 08:38:31 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Mac/Modules/list _Listmodule.c,1.7,1.7.2.1 listscan.py,1.8,1.8.4.1 listsupport.py,1.13,1.13.4.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_pickle.py,1.8,1.9 test_cpickle.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv6847
Modified Files:
pickletester.py
Log Message:
The test using class initarg failed, because it was lacking a
__safe_for_unpickling__ attribute.
Index: pickletester.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/pickletester.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** pickletester.py 2001/10/18 21:57:37 1.10
--- pickletester.py 2001/12/19 16:38:29 1.11
***************
*** 15,18 ****
--- 15,21 ----
class initarg(C):
+
+ __safe_for_unpickling__ = 1
+
def __init__(self, a, b):
self.a = a
- Previous message: [Python-checkins] CVS: python/dist/src/Mac/Modules/list _Listmodule.c,1.7,1.7.2.1 listscan.py,1.8,1.8.4.1 listsupport.py,1.13,1.13.4.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_pickle.py,1.8,1.9 test_cpickle.py,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]