gmake[1]: Entering directory `$(SOURCE_DIR)'
python setup.py build_ext -i
Using build configuration of libxslt 1.1.28
running build_ext
python test.py -p -v
*
div:only-child
div:contains(CELIA)
div:nth-child(even)
div:nth-child(2n)
div:nth-child(odd)
div:nth-child(2n+1)
div:nth-child(n)
div:last-child
div:first-child
div > div
div + div
div ~ div
body
body div
div
div div
div div div
div, div, div
div, a, span
.dialog
div .dialog
div.scene .scene
div.direction .dialog
div .dialog .direction
div.dialog .dialog .direction
#speech5
div#speech5
div #speech5
div#scene1 div.dialog div
#scene1 #speech1
div[class]
div[class=dialog]
div[class^=dia]
div[class$=log]
div[class*=sce]
div[class|=dialog]
div[class!=madeup]
div[class~=dialog]
======================================================================
ERROR: test_iterparse_file_dtd (lxml.tests.test_dtd.ETreeDtdTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
for event, element in iterator ]
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
======================================================================
ERROR: test_iterparse_file (lxml.tests.test_elementtree.ETreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
events = list(iterator)
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
======================================================================
ERROR: test_sourceline_iterparse_end (lxml.tests.test_etree.ETreeOnlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
iterparse(fileInTestDir('include/test_xinclude.xml')) ]
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
======================================================================
ERROR: test_sourceline_iterparse_start (lxml.tests.test_etree.ETreeOnlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
events=("start",)) ]
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
======================================================================
ERROR: test_xpath_exslt_functions_strings (lxml.tests.test_xpathevaluator.ETreeXPathExsltTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
File "$(SOURCE_DIR)/src/lxml/tests/test_xpathevaluator.py", line 593, in test_xpath_exslt_functions_strings
File "xpath.pxi", line 376, in lxml.etree.XPathDocumentEvaluator.__call__ (src/lxml/lxml.etree.c:118390)
File "xpath.pxi", line 239, in lxml.etree._XPathEvaluatorBase._handle_result (src/lxml/lxml.etree.c:117054)
File "xpath.pxi", line 225, in lxml.etree._XPathEvaluatorBase._raise_eval_error (src/lxml/lxml.etree.c:116923)
XPathEvalError: Memory allocation error
======================================================================
FAIL: txt (test_diff)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
AssertionError: Failed doctest test for test_diff.txt
----------------------------------------------------------------------
Failed example:
pdiff('<img src="tease"><img><img src="test">', '<img><img src="toast">')
Expected:
<del><img src="tease"></del> <img><ins><img src="toast"></ins>
<del><img src="test"></del>
Got:
<del><img src="tease"></del> <img> <ins><img src="toast"></ins>
<del><img src="test"></del>
======================================================================
FAIL: txt (test_forms)
----------------------------------------------------------------------
Traceback (most recent call last):
testMethod()
AssertionError: Failed doctest test for test_forms.txt
----------------------------------------------------------------------
Failed example:
tostring(hidden)
Expected:
'<input type="hidden" name="hidden_field" value="new value">'
Got:
'<input type="hidden" name="hidden_field" value="new value">\n '
----------------------------------------------------------------------
Failed example:
tostring(checkbox)
Expected:
'<input type="checkbox" name="single_checkbox" checked>'
Got:
'<input type="checkbox" name="single_checkbox" checked>\n '
----------------------------------------------------------------------
Failed example:
tostring(group[0])
Expected:
'<input type="checkbox" name="check_group" value="1" checked>'
Got:
'<input type="checkbox" name="check_group" value="1" checked>\n '
----------------------------------------------------------------------
Failed example:
tostring(radios[0])
Expected:
'<input type="radio" name="radios" value="value1" id="value1" checked>'
Got:
'<input type="radio" name="radios" value="value1" id="value1" checked>\n '
----------------------------------------------------------------------
Failed example:
tostring(radios[0])
Expected:
'<input type="radio" name="radios" value="value1" id="value1">'
Got:
'<input type="radio" name="radios" value="value1" id="value1">\n '
----------------------------------------------------------------------
Ran 1368 tests
FAILED (failures=2, errors=5)
Comparing with ElementTree 1.3.0
TESTED VERSION: 2.3.3
Python: sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0)
lxml.etree: (2, 3, 3, 0)
libxml used: (2, 9, 2)
libxml compiled: (2, 9, 2)
libxslt used: (1, 1, 28)
libxslt compiled: (1, 1, 28)
gmake[1]: [test_inplace] Error 1 (ignored)
**********************************************************************
File "$(SOURCE_DIR)/selftest.py", line 405, in selftest.iterparse
Failed example:
for action, elem in context:
print("%s %s" % (action, elem.tag))
Exception raised:
Traceback (most recent call last):
compileflags, 1) in test.globs
for action, elem in context:
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
**********************************************************************
File "$(SOURCE_DIR)/selftest.py", line 411, in selftest.iterparse
Failed example:
Exception raised:
Traceback (most recent call last):
compileflags, 1) in test.globs
AttributeError: 'NoneType' object has no attribute 'tag'
**********************************************************************
File "$(SOURCE_DIR)/selftest.py", line 415, in selftest.iterparse
Failed example:
for action, elem in context:
print("%s %s" % (action, elem.tag))
Exception raised:
Traceback (most recent call last):
compileflags, 1) in test.globs
for action, elem in context:
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
**********************************************************************
File "$(SOURCE_DIR)/selftest.py", line 434, in selftest.iterparse
Failed example:
for action, elem in context:
print("%s %s" % (action, elem.tag))
Exception raised:
Traceback (most recent call last):
compileflags, 1) in test.globs
for action, elem in context:
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
**********************************************************************
File "$(SOURCE_DIR)/selftest.py", line 447, in selftest.iterparse
Failed example:
for action, elem in context:
if action in ("start", "end"):
print("%s %s" % (action, elem.tag))
else:
print("%s %s" % (action, elem))
Exception raised:
Traceback (most recent call last):
compileflags, 1) in test.globs
for action, elem in context:
File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096)
XMLSyntaxError: None
**********************************************************************
1 items had failures:
5 of 18 in selftest.iterparse
***Test Failed*** 5 failures.
179 tests ok.
106 tests ok.
gmake[1]: Leaving directory `$(SOURCE_DIR)'