[lxml-dev] Failing lxml.html tests

Ian Bicking ianb at colorstudy.com
Mon Nov 5 03:12:07 CET 2007


Stefan Behnel wrote:
> Ian Bicking wrote:
>> I made a new checkout, did python setup.py develop, and retested, and
>> the errors seem even weirder now.  Many are for method, but there's a
>> bunch of others too (though still most pass).
>>
>> I attached the test output.
> 
> Hmm, there really must be something wrong with your setup. You have Cython
> 0.9.6.7 installed, I assume? I only get three errors, all in the HTML tests.
> The first one is because one of the entries in _tag_link_attrs is a list, not
> sure about the others.

I only get one, the _tag_link_attrs issue, which I just fixed.  It's 
possible one of these weird errors is preventing another error from 
occurring, though... I guess not, since all the errors I now get are in 
lxml.tests.test_elementtree.

> Anyway, you can run the HTML tests by calling "test.py -vv html", that should
> get you over the failing tests for now. I'll see how far I get with a clean
> checkout myself. Have you tried importing etree by hand and checked if the
> failing methods work there?

They do work there (at least the method argument that I tested).  So 
it's just in the test environment where it's acting weird.  Which is odd.

-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org


More information about the lxml-dev mailing list