[Zodb-checkins] CVS: Zope/lib/python/BTrees/tests - testSetOps.py:1.13
Tim Peters
tim.one@comcast.net
Tue, 25 Jun 2002 18:46:43 -0400
Update of /cvs-repository/Zope/lib/python/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv20938/lib/python/BTrees/tests
Modified Files:
testSetOps.py
Log Message:
Negative weights behave as documented now for weightedUnion and
weightedIntersection.
=== Zope/lib/python/BTrees/tests/testSetOps.py 1.12 => 1.13 ===
weights = []
- for w1 in 0, 1, 7: # -3, -1, 0, 1, 7: XXX negative weights buggy
- for w2 in 0, 1, 7: # -3, -1, 0, 1, 7: XXX negative weights buggy
+ for w1 in -3, -1, 0, 1, 7:
+ for w2 in -3, -1, 0, 1, 7:
weights.append((w1, w2))
self.weights = weights