[Checkins]
SVN: PluggableAuthService/trunk/tests/test_exportimport.py
- get rid of a deprecation warning under Zope > 2.8
Jens Vagelpohl
cvs-admin at zope.org
Sun Jun 18 07:44:23 EDT 2006
Log message for revision 68734:
- get rid of a deprecation warning under Zope > 2.8
Changed:
U PluggableAuthService/trunk/tests/test_exportimport.py
-=-
Modified: PluggableAuthService/trunk/tests/test_exportimport.py
===================================================================
--- PluggableAuthService/trunk/tests/test_exportimport.py 2006-06-18 11:44:00 UTC (rev 68733)
+++ PluggableAuthService/trunk/tests/test_exportimport.py 2006-06-18 11:44:20 UTC (rev 68734)
@@ -33,8 +33,13 @@
from Products.GenericSetup.tests.common import BaseRegistryTests
from zope.interface import Interface
- from zope.app.tests.placelesssetup import PlacelessSetup
+ try:
+ from zope.app.testing.placelesssetup import PlacelessSetup
+ except ImportError:
+ # BBB for Zope 2.8
+ from zope.app.tests.placelesssetup import PlacelessSetup
+
class _TestBase(PlacelessSetup, BaseRegistryTests):
def _initPAS(self, plugin_type_info=(), plugins={}):
More information about the Checkins
mailing list