[Zope-Checkins] CVS: Zope/lib/python/OFS/tests - testRanges.py:1.14.2.1
Chris McDonough
chrism@zope.com
Sun, 24 Nov 2002 18:42:26 -0500
Update of /cvs-repository/Zope/lib/python/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv9640/tests
Modified Files:
Tag: chrism-install-branch
testRanges.py
Log Message:
Merging with HEAD.
=== Zope/lib/python/OFS/tests/testRanges.py 1.14 => 1.14.2.1 ===
--- Zope/lib/python/OFS/tests/testRanges.py:1.14 Wed Aug 21 17:17:58 2002
+++ Zope/lib/python/OFS/tests/testRanges.py Sun Nov 24 18:42:25 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,