[Zope-Checkins] CVS: Zope3/lib/python/Interface/tests - framework.py:1.1.4.3 testInterface.py:1.1.4.7
Jim Fulton
jim@zope.com
Mon, 10 Jun 2002 15:34:45 -0400
Update of /cvs-repository/Zope3/lib/python/Interface/tests
In directory cvs.zope.org:/tmp/cvs-serv5490/lib/python/Interface/tests
Modified Files:
Tag: Zope-3x-branch
framework.py testInterface.py
Log Message:
Implemented
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/IContainerPythonification
Along the way:
- Converted most uses of has_key to use in.
- Fixed a bug in Interface names and namesAndDescriptions methods
that caused base class attributes to be missed.
=== Zope3/lib/python/Interface/tests/framework.py 1.1.4.2 => 1.1.4.3 ===
#
##############################################################################
-if not sys.modules.has_key('Testing'):
+if not ('Testing' in sys.modules):
p0 = sys.path[0]
if p0 and __name__ == '__main__':
os.chdir(p0)
=== Zope3/lib/python/Interface/tests/testInterface.py 1.1.4.6 => 1.1.4.7 ===
def f12(): pass
-class _I2(_I1):
+class _I1_(_I1): pass
+class _I1__(_I1_): pass
+
+class _I2(_I1__):
def f21(): pass
def f22(): pass
def f23(): pass