[Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

Philipp von Weitershausen philipp at weitershausen.de
Wed Mar 21 13:15:25 EDT 2007


Martijn Pieters wrote:
> On 3/21/07, Martijn Pieters <mj at zopatista.com> wrote:
>> On 3/21/07, Stefan H. Holek <stefan at epy.co.at> wrote:
>> > Python 2.3 does not support the @decorator syntax.
>>
>> My bad, I'll fix.
> 
> Done. I hadn't even properly run the tests on the 2.8 branch, which
> would would also have shown that doctest on py 2.3 doesn't have any
> unittest integration.

But there's zope.testing.doctest which fixes that. It's a drop-in 
replacement for the doctest module (in fact, it's the one from Python 
2.4). You probably want to use that instead of deleting the test case ;).


-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Zope-Dev mailing list