[Zope-Checkins] CVS: Zope3/lib/python/Persistence/BTrees/tests - testSetOps.py:1.8
Tim Peters
tim.one@comcast.net
Mon, 24 Jun 2002 22:12:38 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv13291/tests
Modified Files:
testSetOps.py
Log Message:
testFunkyKeyIteration(): Exploit that BTrees support the iteration
protocol in Zope3.
=== Zope3/lib/python/Persistence/BTrees/tests/testSetOps.py 1.7 => 1.8 ===
self.assertEqual(len(slow), N)
self.assertEqual(len(fast), N)
- self.assertEqual(list(slow.keys()), list(fast.keys()))
- self.assertEqual(list(fast.keys()), range(N))
+ self.assertEqual(list(slow), list(fast))
+ self.assertEqual(list(fast), range(N))
class TestIIMultiUnion(MultiUnion):
from Persistence.BTrees.IIBTree import multiunion, union