[lxml-dev] Failing lxml.html tests

Stefan Behnel stefan_ml at behnel.de
Sat Oct 27 09:50:04 CEST 2007


Hi,

Ian Bicking wrote:
> There were some other lxml eggs on the path, but I think the trunk was
> above them since I'd just run "python setup.py develop".  I tried python
> setup.py install, just in case there was something weird about develop,
> but same thing (either way it seems to be running out of the checkout,
> so presumably test.py is fixing up the path somehow).  Here's the
> version information test.py gave:
> 
> webdev$ python test.py
> 
> TESTED VERSION: 2.0.alpha4-47900
>      Python:            (2, 4, 4, 'candidate', 1)
>      lxml.etree:        (2, 0, -196, 47900)
>      libxml used:       (2, 6, 26)
>      libxml compiled:   (2, 6, 26)
>      libxslt used:      (1, 1, 17)
>      libxslt compiled:  (1, 1, 17)

That version contains every relevant change, and the current trunk works for
me in Python 2.4.4. I can't see what might have gone wrong here.

To see if it's the kw-only arguments, you can remove the '*' from the argument
list in ElementTree.write() and retest.

Stefan


More information about the lxml-dev mailing list