[ZPT] CVS: Packages/ZTUtils/tests - testBatch.py:1.1.4.1

Evan Simpson evan@zope.com
Tue, 2 Oct 2001 16:25:29 -0400


Update of /cvs-repository/Packages/ZTUtils/tests
In directory cvs.zope.org:/tmp/cvs-serv24982/tests

Modified Files:
      Tag: ztutils-1_1_0
	testBatch.py 
Log Message:
Merge batch changes from trunk


=== Packages/ZTUtils/tests/testBatch.py 1.1 => 1.1.4.1 ===
         '''Test orphan collection'''
         for bsize in (6, 7):
-            b = Batch(range(bsize), 5)
+            b = Batch(range(bsize), 5, orphan=3)
             assert b.next is None
             assert len(b) == bsize
         b = Batch(range(8), 5)