18 Oct
2010
18 Oct
'10
1:24 p.m.
On Mon, Oct 18, 2010 at 3:12 PM, Marius Gedminas <marius@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). Hanno