CVS: Products/PluginRegistry/tests - test_PluginRegistry.py:1.4

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
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
 

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.