[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/tests/functional.py
Use object as base.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jul 8 15:00:07 EDT 2004
Log message for revision 26214:
Use object as base.
-=-
Modified: Zope3/trunk/src/zope/app/tests/functional.py
===================================================================
--- Zope3/trunk/src/zope/app/tests/functional.py 2004-07-08 18:57:10 UTC (rev 26213)
+++ Zope3/trunk/src/zope/app/tests/functional.py 2004-07-08 19:00:07 UTC (rev 26214)
@@ -39,14 +39,12 @@
import zope.app.tests.setup
from zope.app.component.hooks import setSite, getSite
-__metaclass__ = type
-
class HTTPTaskStub(StringIO):
pass
-class ResponseWrapper:
+class ResponseWrapper(object):
"""A wrapper that adds several introspective methods to a response."""
def __init__(self, response, outstream, path):
@@ -75,7 +73,7 @@
return getattr(self._response, attr)
-class FunctionalTestSetup:
+class FunctionalTestSetup(object):
"""Keeps shared state across several functional test cases."""
__shared_state = { '_init': False }
More information about the Zope3-Checkins
mailing list