[Python-checkins] python/dist/src/Lib/test pickletester.py,1.40,1.41

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2003年2月03日 14:28:43 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv18846/Lib/test
Modified Files:
	pickletester.py 
Log Message:
test_newobj_generic(): Use the global protocols vector instead of a
hardcoded list.
Index: pickletester.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/pickletester.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** pickletester.py	3 Feb 2003 22:27:38 -0000	1.40
--- pickletester.py	3 Feb 2003 22:28:41 -0000	1.41
***************
*** 571,575 ****
 
 def test_newobj_generic(self):
! for proto in [0, 1, 2]:
 for C in myclasses:
 B = C.__base__
--- 571,575 ----
 
 def test_newobj_generic(self):
! for proto in protocols:
 for C in myclasses:
 B = C.__base__

AltStyle によって変換されたページ (->オリジナル) /