Commit b2a9b1b8 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix import so tests run under Zope.

parent 5a94a0fd
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Test ExtensionClass support in Persistence.Persistent """Test ExtensionClass support in Persistence.Persistent
$Id: test_ExtensionClass.py,v 1.5 2004/02/20 17:17:13 jeremy Exp $ $Id: test_ExtensionClass.py,v 1.6 2004/02/20 17:19:43 jeremy Exp $
""" """
from doctest import DocTestSuite from doctest import DocTestSuite
...@@ -24,7 +24,7 @@ from Persistence import Persistent ...@@ -24,7 +24,7 @@ from Persistence import Persistent
try: try:
# The _Persistence module is only compiled in a Zope checkout, # The _Persistence module is only compiled in a Zope checkout,
# where ExtensionClass is available. # where ExtensionClass is available.
import Persistent._Persistence import Persistence._Persistence
except ImportError: except ImportError:
pass pass
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment