[Zope3-checkins] CVS: Zope3/src/zope/server/http/tests - test_httpserver.py:1.5
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 15:29:13 -0400
Update of /cvs-repository/Zope3/src/zope/server/http/tests
In directory cvs.zope.org:/tmp/cvs-serv7875/src/zope/server/http/tests
Modified Files:
test_httpserver.py
Log Message:
Changed old-style __implements__ to new-style implements()
Also, fixed up some incorrect formatting.
=== Zope3/src/zope/server/http/tests/test_httpserver.py 1.4 => 1.5 ===
--- Zope3/src/zope/server/http/tests/test_httpserver.py:1.4 Mon Apr 28 18:25:02 2003
+++ Zope3/src/zope/server/http/tests/test_httpserver.py Fri Jun 6 15:29:12 2003
@@ -26,6 +26,7 @@
from zope.server.adjustments import Adjustments
from zope.server.interfaces import ITask
from zope.server.tests.asyncerror import AsyncoreErrorHook
+from zope.interface import implements
from httplib import HTTPConnection
from httplib import HTTPResponse as ClientHTTPResponse
@@ -62,7 +63,7 @@
class SleepingTask:
- __implements__ = ITask
+ implements(ITask)
def service(self):
sleep(0.2)