[Zope3-checkins] CVS: Zope3/src/zodb/zeo/tests - commitlock.py:1.1.2.3 connection.py:1.1.2.2 test_zeo.py:1.1.2.4 threadtests.py:1.1.2.3
Guido van Rossum
guido@python.org
Tue, 24 Dec 2002 13:03:13 -0500
Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv18449/tests
Modified Files:
Tag: NameGeddon-branch
commitlock.py connection.py test_zeo.py threadtests.py
Log Message:
There was a really weird error: cPickle couldn't pickle an exception
because there was a local module exceptions. Somehow cPickle is
doing a relative import. :-(
Rather than fix cPickle (which should be done as well), removed the
exceptions submodule, and move its contents into interfaces.py.
There was only one exception defined.
=== Zope3/src/zodb/zeo/tests/commitlock.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zodb/zeo/tests/commitlock.py:1.1.2.2 Tue Dec 24 12:13:50 2002
+++ Zope3/src/zodb/zeo/tests/commitlock.py Tue Dec 24 13:02:42 2002
@@ -21,7 +21,7 @@
from zodb.storage.tests.base import zodb_pickle, MinPO
from zodb.zeo.client import ClientStorage
-from zodb.zeo.exceptions import Disconnected
+from zodb.zeo.interfaces import Disconnected
ZERO = '\0'*8
=== Zope3/src/zodb/zeo/tests/connection.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zodb/zeo/tests/connection.py:1.1.2.1 Mon Dec 23 14:30:53 2002
+++ Zope3/src/zodb/zeo/tests/connection.py Tue Dec 24 13:02:42 2002
@@ -24,7 +24,7 @@
import logging
from zodb.zeo.client import ClientStorage
-from zodb.zeo.exceptions import Disconnected
+from zodb.zeo.interfaces import Disconnected
from zodb.zeo.zrpc.marshal import Marshaller
from zodb.zeo.tests import forker
=== Zope3/src/zodb/zeo/tests/test_zeo.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zodb/zeo/tests/test_zeo.py:1.1.2.3 Mon Dec 23 18:48:44 2002
+++ Zope3/src/zodb/zeo/tests/test_zeo.py Tue Dec 24 13:02:42 2002
@@ -37,7 +37,7 @@
# ZEO imports
from zodb.zeo.client import ClientStorage
-from zodb.zeo.exceptions import Disconnected
+from zodb.zeo.interfaces import Disconnected
# ZEO test support
from zodb.zeo.tests import forker, cache
=== Zope3/src/zodb/zeo/tests/threadtests.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zodb/zeo/tests/threadtests.py:1.1.2.2 Tue Dec 24 12:18:00 2002
+++ Zope3/src/zodb/zeo/tests/threadtests.py Tue Dec 24 13:02:42 2002
@@ -19,7 +19,7 @@
from zodb.storage.tests.base import zodb_pickle, MinPO
from zodb.zeo.client import ClientStorageError
-from zodb.zeo.exceptions import Disconnected
+from zodb.zeo.interfaces import Disconnected
ZERO = '\0'*8