[Zodb-checkins] CVS: ZODB4/src/zodb/storage/tests - undo.py:1.5.4.1

Barry Warsaw barry@wooz.org
Mon, 10 Feb 2003 18:21:12 -0500


Update of /cvs-repository/ZODB4/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv7865/src/zodb/storage/tests

Modified Files:
      Tag: opaque-pickles-branch
	undo.py 
Log Message:
Use zodb.interfaces.ZERO instead of zodb.utils.z64


=== ZODB4/src/zodb/storage/tests/undo.py 1.5 => 1.5.4.1 ===
--- ZODB4/src/zodb/storage/tests/undo.py:1.5	Wed Feb  5 18:28:27 2003
+++ ZODB4/src/zodb/storage/tests/undo.py	Mon Feb 10 18:21:08 2003
@@ -7,8 +7,9 @@
 import types
 
 from zodb import interfaces
+from zodb.interfaces import ZERO
 from zodb.ztransaction import Transaction
-from zodb.utils import u64, p64, z64
+from zodb.utils import u64, p64
 from zodb.db import DB
 
 from zodb.storage.tests.minpo import MinPO
@@ -200,7 +201,7 @@
                                  map(MinPO, (31, 32, 51, 52)))
         oid1 = self._storage.newObjectId()
         oid2 = self._storage.newObjectId()
-        revid1 = revid2 = z64
+        revid1 = revid2 = ZERO
         # Store two objects in the same transaction
         t = Transaction()
         self._storage.tpcBegin(t)
@@ -256,7 +257,7 @@
                                                (30, 31, 32, 50, 51, 52)))
         oid1 = self._storage.newObjectId()
         oid2 = self._storage.newObjectId()
-        revid1 = revid2 = z64
+        revid1 = revid2 = ZERO
         # Store two objects in the same transaction
         d = self._multi_obj_transaction([(oid1, revid1, p30),
                                          (oid2, revid2, p50),
@@ -412,7 +413,7 @@
         oid1 = oid
         revid1 = revid_c
         oid2 = self._storage.newObjectId()
-        revid2 = z64
+        revid2 = ZERO
         p81, p82, p91, p92 = map(zodb_pickle,
                                  map(MinPO, (81, 82, 91, 92)))