[lxml-dev] FAIL: test_parser_target_entity

Cesar Ortiz cesar.ortiz at gmail.com
Wed Aug 6 16:51:24 CEST 2008


Hi all,

I am new to lxml, but I have been using libxml2 for a while.
In my system I´ve got libxml2 2.6.26 and libxslt 1.1.17, and I tried to
install lxml.
I could not install with easy_install (because of the installation I have
got I think) so I tried to install from source, and it worked.
After that I run the tests and one failed:

[phe1246 at pandora lxml]$ make test
python setup.py  build_ext -i
Building lxml version 2.2.alpha1-56897.
Building with Cython 0.9.8.
Using build configuration of libxslt 1.1.17
Building against libxml2/libxslt in the following directory:
/home/phe1246/install//lib
running build_ext
building 'lxml.etree' extension
gcc -pthread -shared build/temp.linux-i686-2.4/src/lxml/lxml.etree.o
-L/home/phe1246/install//lib -lxslt -lexslt -lxml2 -lz -lm -o
src/lxml/etree.so
building 'lxml.objectify' extension
gcc -pthread -shared build/temp.linux-i686-2.4/src/lxml/lxml.objectify.o
-L/home/phe1246/install//lib -lxslt -lexslt -lxml2 -lz -lm -o
src/lxml/objectify.so
python test.py -p -v

TESTED VERSION: 2.2.alpha1-56897
    Python:           (2, 4, 3, 'final', 0)
    lxml.etree:       (2, 2, -199, 56897)
    libxml used:      (2, 6, 26)
    libxml compiled:  (2, 6, 26)
    libxslt used:     (1, 1, 17)
    libxslt compiled: (1, 1, 17)

 970/970 (100.0%): Doctest: xpathxslt.txt
======================================================================
FAIL: test_parser_target_entity (lxml.tests.test_elementtree.ETreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/phe1246/software/lxml/src/lxml/tests/test_elementtree.py",
line 3417, in test_parser_target_entity
    events)
  File "/usr/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: ['start-root', 'start-sub', 'end-sub', 'start-sub',
'data-this is an entity', 'end-sub', 'start-sub', 'end-sub', 'end-root'] !=
['start-root', 'start-sub', 'end-sub', 'start-sub', u'data-this is an
entityan entity', 'end-sub', 'start-sub', 'end-sub', 'end-root']

----------------------------------------------------------------------
Ran 970 tests in 33.731s

FAILED (failures=1)
make: *** [test_inplace] Error 1


Should I worry about it? I didn´t see anything related in the mailing-list
repository.

Thanks in advance.

NB: By the way, is it possible to get a .tar.gz version from any place?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080806/77690be2/attachment.htm 


More information about the lxml-dev mailing list