[Python-checkins] CVS: python/dist/src/Lib/test test_sre.py,1.33,1.34

Guido van Rossum gvanrossum@users.sourceforge.net
2001年12月07日 21:11:17 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv4047
Modified Files:
	test_sre.py 
Log Message:
Remove erroneous and confusing comment -- sre patterns *can* be
pickled and we do *not* expect exceptions from either pickle or
cPickle.
Index: test_sre.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_sre.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** test_sre.py	2001年10月28日 20:15:40	1.33
--- test_sre.py	2001年12月08日 05:11:15	1.34
***************
*** 265,269 ****
 pat = pickle.loads(s)
 except:
! print TestFailed, 're module pickle' # expected
 
 try:
--- 265,269 ----
 pat = pickle.loads(s)
 except:
! print TestFailed, 're module pickle'
 
 try:
***************
*** 273,277 ****
 pat = cPickle.loads(s)
 except:
! print TestFailed, 're module cPickle' # expected
 
 # constants
--- 273,277 ----
 pat = cPickle.loads(s)
 except:
! print TestFailed, 're module cPickle'
 
 # constants

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