[Zodb-checkins] CVS: ZODB4/src/zodb/storage/tests - packable.py:1.3

Barry Warsaw barry@wooz.org
Wed, 22 Jan 2003 15:20:03 -0500


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

Modified Files:
	packable.py 
Log Message:
minor cleanups


=== ZODB4/src/zodb/storage/tests/packable.py 1.2 => 1.3 ===
--- ZODB4/src/zodb/storage/tests/packable.py:1.2	Wed Dec 25 09:12:20 2002
+++ ZODB4/src/zodb/storage/tests/packable.py	Wed Jan 22 15:19:59 2003
@@ -1,6 +1,6 @@
 ##############################################################################
 #
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# Copyright (c) 2001 Zope Corporation and Contributors.
 # All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
@@ -13,6 +13,9 @@
 ##############################################################################
 """Run some tests relevant for storages that support pack()."""
 
+import time
+from cStringIO import StringIO
+
 try:
     import cPickle
     pickle = cPickle
@@ -20,15 +23,13 @@
 except ImportError:
     import pickle
 
-from cStringIO import StringIO
+from persistence import Persistent
+from transaction import get_transaction
 
-import time
 from zodb.db import DB
+from zodb.storage.base import ZERO
 from zodb.storage.tests.minpo import MinPO
-from persistence import Persistent
-from transaction import get_transaction
 
-ZERO = '\0'*8
 
 
 # This class is for the root object.  It must not contain a getoid() method