[Zope-Coders] FYI: Python 2.2 tests
Shane Hathaway
shane@zope.com
Wed, 19 Dec 2001 11:04:34 -0500
Guido van Rossum wrote:
>>Just to be clear, the purpose of running the nightly unit tests on a
>>Python 2.2 checkout is to fix Python, not fix Zope. AFAIK we do not
>>plan to support the combination of Zope 2.5 and Python 2.2. We just
>>want to take this window of opportunity to fix Python 2.2 before it
>>becomes final.
>>
>
> Have you found any issues that might point to Python 2.2?
No, so far the two bugs are Zope's fault. There are really only two
bugs even though there are many test failures. One bug is that we were
raising a KeyError instead of AttributeError in a __getattr__(); I just
fixed it. The second bug is that we're not using the compiler from the
standard library, making restricted code fail in strange ways.
OTOH the compiler in the standard library needs to be exercised and I'm
hoping to do that today or tomorrow.
> I haven't
> been able to make much sense from the test output, given that I'm not
> that familiar with the Zope test suite. Since we're planning to
> release 2.2 this coming Friday, if you see something, I'd like to hear
> about it! (How can I run the tests myself with this combination?)
You'll be the first to know. :-)
Here's how I run the Python 2.2 tests:
cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository co Zope
cd Zope
/usr/local/bin/python2.2 wo_pcgi.py
rm -f inituser
/usr/local/bin/python2.2 utilities/testrunner.py -v0 -a
Shane