[lxml-dev] lxml 1.1 problems with python 2.3

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Sat Nov 25 11:52:03 CET 2006


Tres Seaver wrote:
> Maybe we should return the custom doctest and wire it in via a
> conditional import, e.g.::
> 
>   try:
>       import doctest
>   except ImportError:  # Python < 2.4
>       from lxml.bbb import doctest

The problem is not that it can't be imported in 2.3, it's rather that we seem
to be using some features in the tests that were not yet available in 2.3's
doctest module. That's harder to test...

Stefan



More information about the lxml-dev mailing list