[Zope3-checkins] CVS: Zope3/src/zope/proxy/context/tests - test_decorator.py:1.5
Steve Alexander
steve@cat-box.net
Fri, 9 May 2003 12:01:00 -0400
Update of /cvs-repository/Zope3/src/zope/proxy/context/tests
In directory cvs.zope.org:/tmp/cvs-serv3347/src/zope/proxy/context/tests
Modified Files:
test_decorator.py
Log Message:
Added the correct __init__ to a MixinFactory that was missing it.
GvR pointed out that although this would work with Python 2.2.2, it would
fail on Python 2.3, which is stricter about the arguments required
to create object-type objects.
=== Zope3/src/zope/proxy/context/tests/test_decorator.py 1.4 => 1.5 ===
--- Zope3/src/zope/proxy/context/tests/test_decorator.py:1.4 Fri May 9 10:02:55 2003
+++ Zope3/src/zope/proxy/context/tests/test_decorator.py Fri May 9 12:01:00 2003
@@ -185,6 +185,8 @@
dummy_iter = iter(range(5))
class MixinFactory(object):
+ def __init__(self, inner, outer):
+ pass
count = 0
def __len__(self):
self.called = 'len'