Re: Zope Tests: 38 OK, 3 Failed

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Mon, Oct 18, 2010 at 3:12 PM, Marius Gedminas <[email protected]> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.