[Zope3-dev] If you use Python 2.3, you must use Python 2.3b2
Tim Peters
tim@zope.com
Mon, 30 Jun 2003 12:49:25 -0400
[Jim]
> Python 2.3b2, which was released yesterday has an improvement to
> doctest that allows it to recognize "1" as equivalent to "True" and
> "0" as equivalent to "False" in test output. This makes tests that do
> things like:
>
> >>> a == b
> 1
>
> to work.
OTOH, this is a one-way equivalence. The test above will pass under Python
2.2 and 2.3b2. But this test will pass only under 2.3b2:
>>> a == b
True