[Zope3-checkins] CVS: Zope3/src/zope/app/tests - test_introspector.py:1.3
Steve Alexander
steve@cat-box.net
Tue, 3 Jun 2003 11:45:39 -0400
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv9102/src/zope/app/tests
Modified Files:
test_introspector.py
Log Message:
Various formatting cleanup.
Use new implements() style.
replaced use of 0 and 1 with False and True.
=== Zope3/src/zope/app/tests/test_introspector.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/tests/test_introspector.py:1.2 Wed Dec 25 09:13:26 2002
+++ Zope3/src/zope/app/tests/test_introspector.py Tue Jun 3 11:45:09 2003
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-from zope.interface import Interface, Attribute
+from zope.interface import Interface, Attribute, implements
class ITestClass(Interface):
def drool():
@@ -23,7 +23,7 @@
class TestClass(BaseTestClass):
"""This is my stupid doc string"""
- __implements__ = ITestClass
+ implements(ITestClass)
def drool(self):
pass