[Zope-Checkins] CVS: Zope/lib/python/OFS/tests - testRanges.py:1.14.22.1
Andreas Jung
andreas@andreas-jung.com
Sat, 16 Nov 2002 11:41:14 -0500
Update of /cvs-repository/Zope/lib/python/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv25283/OFS/tests
Modified Files:
Tag: ajung-restructuredtext-integration-branch
testRanges.py
Log Message:
merge from trunk
=== Zope/lib/python/OFS/tests/testRanges.py 1.14 => 1.14.22.1 ===
--- Zope/lib/python/OFS/tests/testRanges.py:1.14 Wed Aug 21 17:17:58 2002
+++ Zope/lib/python/OFS/tests/testRanges.py Sat Nov 16 11:40:44 2002
@@ -33,7 +33,8 @@
def createBigFile():
# Create a file that is several 1<<16 blocks of data big, to force the
# use of chained Pdata objects.
- size = (1<<16) * 5
+ # Make sure we create a file that isn't of x * 1<<16 length! Coll #671
+ size = (1<<16) * 5 + 12345
file = cStringIO.StringIO()
def addLetter(x, add=file.write, l=string.letters,