[Zodb-checkins] CVS: ZODB/src/persistent/tests - test_overriding_attrs.py:1.1.2.2

Jeremy Hylton jeremy at zope.com
Thu Feb 12 23:12:08 EST 2004


Update of /cvs-repository/ZODB/src/persistent/tests
In directory cvs.zope.org:/tmp/cvs-serv19775/src/persistent/tests

Modified Files:
      Tag: zope3-zodb3-devel-branch
	test_overriding_attrs.py 
Log Message:
There is no transaction package in standalone ZODB.

XXX Perhaps these lines just need to go away.


=== ZODB/src/persistent/tests/test_overriding_attrs.py 1.1.2.1 => 1.1.2.2 ===
--- ZODB/src/persistent/tests/test_overriding_attrs.py:1.1.2.1	Wed Jan 28 07:16:17 2004
+++ ZODB/src/persistent/tests/test_overriding_attrs.py	Thu Feb 12 23:12:07 2004
@@ -20,7 +20,10 @@
 """
 
 from persistent import Persistent
-from transaction import get_transaction
+try:
+    from transaction import get_transaction
+except ImportError:
+    pass # else assume ZODB will install it as a builtin
 from ZODB.tests.util import DB
 
 class SampleOverridingGetattr(Persistent):




More information about the Zodb-checkins mailing list