[Zope3-checkins] CVS: Zope3/src/zope/proxy/context/tests - test_decorator.py:1.9

Marius Gedminas mgedmin@codeworks.lt
Mon, 12 May 2003 12:17:40 -0400


Update of /cvs-repository/Zope3/src/zope/proxy/context/tests
In directory cvs.zope.org:/tmp/cvs-serv32596/src/zope/proxy/context/tests

Modified Files:
	test_decorator.py 
Log Message:
Fixed tp_iternext wrapping.


=== Zope3/src/zope/proxy/context/tests/test_decorator.py 1.8 => 1.9 ===
--- Zope3/src/zope/proxy/context/tests/test_decorator.py:1.8	Mon May 12 11:44:41 2003
+++ Zope3/src/zope/proxy/context/tests/test_decorator.py	Mon May 12 12:17:40 2003
@@ -351,12 +351,7 @@
         t = tuple(self.proxy_class(obj, None, factory, names))
         self.assertEquals(t, (1, 2, 3))
 
-    def XXXtest_iteration_using_decorator(self):
-        # XXX This test is taken from test_iteration_using_proxy in
-        # test_proxy.py. It doesn't work when adapted for decoration.
-        # This needs looking at, but it is something of an edge case, and
-        # so isn't a priority.
-
+    def test_iteration_using_decorator(self):
         # Wrap an iterator within the iteration protocol, expecting it
         # still to work.  PyObject_GetIter() will not be called on the
         # proxy, so the tp_iter slot won't unwrap it.