On Mon, Oct 18, 2010 at 03:24:10PM +0200, Hanno Schlichting wrote: > On Mon, Oct 18, 2010 at 3:12 PM, Marius Gedminas <mar...@gedmin.as> wrote: > > On Mon, Oct 18, 2010 at 01:58:28PM +0200, Zope Tests Summarizer wrote: > >> Summary of messages to the zope-tests list. > >> Period Sun Oct 17 12:00:00 2010 UTC to Mon Oct 18 12:00:00 2010 UTC. > >> > >> Subject: FAILED : ZTK 1.0dev / Python2.4.6 Linux 64bit > >> From: ccomb at free.fr > >> Date: Sun Oct 17 22:04:14 EDT 2010 > >> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021837.html > > > > zope.deprecation fails to find __file__ in f_globals. > > That's a Python 2.4 specific problem. IIRC you simply need to pass in > __file__=__file__ into the globals of the doctest suite (which makes > the __file__ point to the tests.py instead of the doctest.txt file, > but that generally doesn't matter).
Thanks! Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development
Description: Digital signature
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )