[Zope-CVS] CVS: Products/PluginRegistry/tests - test_PluginRegistry.py:1.4

Tres Seaver tseaver at palladion.com
Tue Sep 6 17:59:49 EDT 2005


Update of /cvs-repository/Products/PluginRegistry/tests
In directory cvs.zope.org:/tmp/cvs-serv31486/tests

Modified Files:
	test_PluginRegistry.py 
Log Message:


  - Removed deprecation warnings under Zope 2.8.x.


=== Products/PluginRegistry/tests/test_PluginRegistry.py 1.3 => 1.4 ===
--- Products/PluginRegistry/tests/test_PluginRegistry.py:1.3	Tue Nov  9 10:16:14 2004
+++ Products/PluginRegistry/tests/test_PluginRegistry.py	Tue Sep  6 17:59:49 2005
@@ -12,10 +12,15 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##############################################################################
+import unittest
 from OFS.Folder import Folder
-from Interface import Interface
+
+try:
+    from zope.interface import Interface
+except ImportError:  # Zope < 2.8.0
+    from Interface import Interface
+
 from Acquisition import Implicit
-import unittest
 
 from Products.PluginRegistry.utils import directlyProvides
 



More information about the Zope-CVS mailing list