[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


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