[Zope3-checkins] CVS: Zope3/src/zope/app/applicationcontrol/tests - test_runtimeinfo.py:1.4

Steve Alexander steve@cat-box.net
Sat, 7 Jun 2003 02:37:50 -0400


Update of /cvs-repository/Zope3/src/zope/app/applicationcontrol/tests
In directory cvs.zope.org:/tmp/cvs-serv4294/src/zope/app/applicationcontrol/tests

Modified Files:
	test_runtimeinfo.py 
Log Message:
updated to use new-style interface declarations


=== Zope3/src/zope/app/applicationcontrol/tests/test_runtimeinfo.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/applicationcontrol/tests/test_runtimeinfo.py:1.3	Wed Apr 30 19:37:48 2003
+++ Zope3/src/zope/app/applicationcontrol/tests/test_runtimeinfo.py	Sat Jun  7 02:37:19 2003
@@ -25,6 +25,7 @@
 from zope.app.applicationcontrol.applicationcontrol import \
   applicationController
 from zope.app.interfaces.applicationcontrol.zopeversion import IZopeVersion
+from zope.interface import implements
 
 # seconds, time values may differ in order to be assumed equal
 time_tolerance = 2
@@ -33,7 +34,7 @@
 class TestZopeVersion:
     """A fallback implementation for the ZopeVersion utility."""
 
-    __implements__ = IZopeVersion
+    implements(IZopeVersion)
 
     def getZopeVersion(self):
         return stupid_version_string