[Zodb-checkins] CVS: ZODB3/ZODB/tests - StorageTestBase.py:1.29.2.3
Jeremy Hylton
cvs-admin at zope.org
Wed Nov 12 00:21:06 EST 2003
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv4275
Modified Files:
Tag: ZODB3-mvcc-2-branch
StorageTestBase.py
Log Message:
Remove unused imports and local variables.
Change sys.stderr.write() to simpler print >> sys.stderr.
=== ZODB3/ZODB/tests/StorageTestBase.py 1.29.2.2 => 1.29.2.3 ===
--- ZODB3/ZODB/tests/StorageTestBase.py:1.29.2.2 Tue Nov 11 17:17:30 2003
+++ ZODB3/ZODB/tests/StorageTestBase.py Wed Nov 12 00:21:03 2003
@@ -19,10 +19,6 @@
single object revision.
"""
-import errno
-import os
-import pickle
-import string
import sys
import time
import types
@@ -88,8 +84,7 @@
try:
klass = ns[klassname]
except KeyError:
- sys.stderr.write("can't find %s in %s" % (klassname,
- repr(ns)))
+ print >> sys.stderr, "can't find %s in %r" % (klassname, ns)
inst = klass()
else:
raise ValueError, "expected class info: %s" % repr(klass_info)
@@ -131,7 +126,7 @@
return handle_all_serials(oid, *args)[oid]
def import_helper(name):
- mod = __import__(name)
+ __import__(name)
return sys.modules[name]
More information about the Zodb-checkins
mailing list