[Python-checkins] CVS: python/dist/src/Lib/test test_cpickle.py,1.10,1.11

Barry Warsaw bwarsaw@users.sourceforge.net
2001年12月21日 12:04:24 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv14802/Lib/test
Modified Files:
	test_cpickle.py 
Log Message:
Merge of the release22 branch changes back into the trunk.
Index: test_cpickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cpickle.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_cpickle.py	2001年12月19日 16:42:15	1.10
--- test_cpickle.py	2001年12月21日 20:04:22	1.11
***************
*** 81,84 ****
--- 81,91 ----
 self)
 
+ def test_nonrecursive_deep(self):
+ a = []
+ for i in range(100):
+ a = [a]
+ b = self.loads(self.dumps(a))
+ self.assertEqual(a, b)
+ 
 def test_main():
 loader = unittest.TestLoader()

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