|
1 gmake[1]: Entering directory `$(SOURCE_DIR)' |
|
2 python setup.py build_ext -i |
|
3 Using build configuration of libxslt 1.1.28 |
|
4 running build_ext |
|
5 python test.py -p -v |
|
6 |
|
7 1/1368 ( 0.1%): txt (test_autolink) |
|
8 * |
|
9 72/1368 ( 5.3%): runTest (lxml.tests.test_css.CSSTestCase) |
|
10 div:only-child |
|
11 73/1368 ( 5.3%): runTest (...tests.test_css.CSSTestCase) |
|
12 div:contains(CELIA) |
|
13 74/1368 ( 5.4%): runTest (...tests.test_css.CSSTestCase) |
|
14 div:nth-child(even) |
|
15 75/1368 ( 5.5%): runTest (lxml.tests.test_css.CSSTestCase) |
|
16 div:nth-child(2n) |
|
17 76/1368 ( 5.6%): runTest (....tests.test_css.CSSTestCase) |
|
18 div:nth-child(odd) |
|
19 77/1368 ( 5.6%): runTest (...tests.test_css.CSSTestCase) |
|
20 div:nth-child(2n+1) |
|
21 78/1368 ( 5.7%): runTest (lxml.tests.test_css.CSSTestCase) |
|
22 div:nth-child(n) |
|
23 79/1368 ( 5.8%): runTest (lxml.tests.test_css.CSSTestCase) |
|
24 div:last-child |
|
25 80/1368 ( 5.8%): runTest (lxml.tests.test_css.CSSTestCase) |
|
26 div:first-child |
|
27 81/1368 ( 5.9%): runTest (lxml.tests.test_css.CSSTestCase) |
|
28 div > div |
|
29 82/1368 ( 6.0%): runTest (lxml.tests.test_css.CSSTestCase) |
|
30 div + div |
|
31 83/1368 ( 6.1%): runTest (lxml.tests.test_css.CSSTestCase) |
|
32 div ~ div |
|
33 84/1368 ( 6.1%): runTest (lxml.tests.test_css.CSSTestCase) |
|
34 body |
|
35 85/1368 ( 6.2%): runTest (lxml.tests.test_css.CSSTestCase) |
|
36 body div |
|
37 86/1368 ( 6.3%): runTest (lxml.tests.test_css.CSSTestCase) |
|
38 div |
|
39 87/1368 ( 6.4%): runTest (lxml.tests.test_css.CSSTestCase) |
|
40 div div |
|
41 88/1368 ( 6.4%): runTest (lxml.tests.test_css.CSSTestCase) |
|
42 div div div |
|
43 89/1368 ( 6.5%): runTest (lxml.tests.test_css.CSSTestCase) |
|
44 div, div, div |
|
45 90/1368 ( 6.6%): runTest (lxml.tests.test_css.CSSTestCase) |
|
46 div, a, span |
|
47 91/1368 ( 6.7%): runTest (lxml.tests.test_css.CSSTestCase) |
|
48 .dialog |
|
49 92/1368 ( 6.7%): runTest (lxml.tests.test_css.CSSTestCase) |
|
50 div.dialog |
|
51 93/1368 ( 6.8%): runTest (lxml.tests.test_css.CSSTestCase) |
|
52 div .dialog |
|
53 94/1368 ( 6.9%): runTest (...test_css.CSSTestCase) |
|
54 div.character, div.dialog |
|
55 95/1368 ( 6.9%): runTest (...ests.test_css.CSSTestCase) |
|
56 div.direction.dialog |
|
57 96/1368 ( 7.0%): runTest (...ests.test_css.CSSTestCase) |
|
58 div.dialog.direction |
|
59 97/1368 ( 7.1%): runTest (lxml.tests.test_css.CSSTestCase) |
|
60 div.dialog.scene |
|
61 98/1368 ( 7.2%): runTest (lxml.tests.test_css.CSSTestCase) |
|
62 div.scene.scene |
|
63 99/1368 ( 7.2%): runTest (lxml.tests.test_css.CSSTestCase) |
|
64 div.scene .scene |
|
65 100/1368 ( 7.3%): runTest (...ts.test_css.CSSTestCase) |
|
66 div.direction .dialog |
|
67 101/1368 ( 7.4%): runTest (...ts.test_css.CSSTestCase) |
|
68 div .dialog .direction |
|
69 102/1368 ( 7.5%): runTest (..._css.CSSTestCase) |
|
70 div.dialog .dialog .direction |
|
71 103/1368 ( 7.5%): runTest (lxml.tests.test_css.CSSTestCase) |
|
72 #speech5 |
|
73 104/1368 ( 7.6%): runTest (lxml.tests.test_css.CSSTestCase) |
|
74 div#speech5 |
|
75 105/1368 ( 7.7%): runTest (lxml.tests.test_css.CSSTestCase) |
|
76 div #speech5 |
|
77 106/1368 ( 7.7%): runTest (...ests.test_css.CSSTestCase) |
|
78 div.scene div.dialog |
|
79 107/1368 ( 7.8%): runTest (...test_css.CSSTestCase) |
|
80 div#scene1 div.dialog div |
|
81 108/1368 ( 7.9%): runTest (lxml.tests.test_css.CSSTestCase) |
|
82 #scene1 #speech1 |
|
83 109/1368 ( 8.0%): runTest (lxml.tests.test_css.CSSTestCase) |
|
84 div[class] |
|
85 110/1368 ( 8.0%): runTest (lxml.tests.test_css.CSSTestCase) |
|
86 div[class=dialog] |
|
87 111/1368 ( 8.1%): runTest (lxml.tests.test_css.CSSTestCase) |
|
88 div[class^=dia] |
|
89 112/1368 ( 8.2%): runTest (lxml.tests.test_css.CSSTestCase) |
|
90 div[class$=log] |
|
91 113/1368 ( 8.3%): runTest (lxml.tests.test_css.CSSTestCase) |
|
92 div[class*=sce] |
|
93 114/1368 ( 8.3%): runTest (....tests.test_css.CSSTestCase) |
|
94 div[class|=dialog] |
|
95 115/1368 ( 8.4%): runTest (....tests.test_css.CSSTestCase) |
|
96 div[class!=madeup] |
|
97 116/1368 ( 8.5%): runTest (....tests.test_css.CSSTestCase) |
|
98 div[class~=dialog] |
|
99 117/1368 ( 8.6%): test_dtd (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
100 118/1368 ( 8.6%): test_dtd_assertValid (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
101 119/1368 ( 8.7%): test_dtd_broken (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
102 120/1368 ( 8.8%): test_dtd_file (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
103 121/1368 ( 8.8%): test_dtd_internal (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
104 122/1368 ( 8.9%): test_dtd_internal_invalid (...ts.test_dtd.ETreeDtdTestCase) |
|
105 123/1368 ( 9.0%): test_dtd_invalid (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
106 124/1368 ( 9.1%): test_dtd_parse_file_not_found (...est_dtd.ETreeDtdTestCase) |
|
107 125/1368 ( 9.1%): test_dtd_parse_invalid (...tests.test_dtd.ETreeDtdTestCase) |
|
108 126/1368 ( 9.2%): test_dtd_parse_valid (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
109 127/1368 ( 9.3%): test_dtd_parse_valid_relative (...est_dtd.ETreeDtdTestCase) |
|
110 128/1368 ( 9.4%): test_dtd_stringio (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
111 129/1368 ( 9.4%): test_iterparse_file_dtd (...ests.test_dtd.ETreeDtdTestCase) |
|
112 130/1368 ( 9.5%): test_parse_file_dtd (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
113 131/1368 ( 9.6%): txt (validation) |
|
114 ====================================================================== |
|
115 ERROR: test_iterparse_file_dtd (lxml.tests.test_dtd.ETreeDtdTestCase) |
|
116 ---------------------------------------------------------------------- |
|
117 Traceback (most recent call last): |
|
118 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
119 testMethod() |
|
120 File "$(SOURCE_DIR)/src/lxml/tests/test_dtd.py", line 124, in test_iterparse_file_dtd |
|
121 for event, element in iterator ] |
|
122 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
123 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
124 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
125 XMLSyntaxError: None |
|
126 |
|
127 ====================================================================== |
|
128 ERROR: test_iterparse_file (lxml.tests.test_elementtree.ETreeTestCase) |
|
129 ---------------------------------------------------------------------- |
|
130 Traceback (most recent call last): |
|
131 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
132 testMethod() |
|
133 File "$(SOURCE_DIR)/src/lxml/tests/test_elementtree.py", line 2719, in test_iterparse_file |
|
134 events = list(iterator) |
|
135 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
136 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
137 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
138 XMLSyntaxError: None |
|
139 |
|
140 ====================================================================== |
|
141 ERROR: test_sourceline_iterparse_end (lxml.tests.test_etree.ETreeOnlyTestCase) |
|
142 ---------------------------------------------------------------------- |
|
143 Traceback (most recent call last): |
|
144 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
145 testMethod() |
|
146 File "$(SOURCE_DIR)/src/lxml/tests/test_etree.py", line 2381, in test_sourceline_iterparse_end |
|
147 iterparse(fileInTestDir('include/test_xinclude.xml')) ] |
|
148 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
149 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
150 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
151 XMLSyntaxError: None |
|
152 |
|
153 ====================================================================== |
|
154 ERROR: test_sourceline_iterparse_start (lxml.tests.test_etree.ETreeOnlyTestCase) |
|
155 ---------------------------------------------------------------------- |
|
156 Traceback (most recent call last): |
|
157 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
158 testMethod() |
|
159 File "$(SOURCE_DIR)/src/lxml/tests/test_etree.py", line 2391, in test_sourceline_iterparse_start |
|
160 events=("start",)) ] |
|
161 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
162 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
163 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
164 XMLSyntaxError: None |
|
165 |
|
166 ====================================================================== |
|
167 ERROR: test_xpath_exslt_functions_strings (lxml.tests.test_xpathevaluator.ETreeXPathExsltTestCase) |
|
168 ---------------------------------------------------------------------- |
|
169 Traceback (most recent call last): |
|
170 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
171 testMethod() |
|
172 File "$(SOURCE_DIR)/src/lxml/tests/test_xpathevaluator.py", line 593, in test_xpath_exslt_functions_strings |
|
173 namespaces=self.NSMAP) |
|
174 File "lxml.etree.pyx", line 2045, in lxml.etree._ElementTree.xpath (src/lxml/lxml.etree.c:47596) |
|
175 File "xpath.pxi", line 376, in lxml.etree.XPathDocumentEvaluator.__call__ (src/lxml/lxml.etree.c:118390) |
|
176 File "xpath.pxi", line 239, in lxml.etree._XPathEvaluatorBase._handle_result (src/lxml/lxml.etree.c:117054) |
|
177 File "xpath.pxi", line 225, in lxml.etree._XPathEvaluatorBase._raise_eval_error (src/lxml/lxml.etree.c:116923) |
|
178 XPathEvalError: Memory allocation error |
|
179 |
|
180 ====================================================================== |
|
181 FAIL: txt (test_diff) |
|
182 ---------------------------------------------------------------------- |
|
183 Traceback (most recent call last): |
|
184 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
185 testMethod() |
|
186 File "/usr/lib/python2.7/doctest.py", line 2226, in runTest |
|
187 raise self.failureException(self.format_failure(new.getvalue())) |
|
188 AssertionError: Failed doctest test for test_diff.txt |
|
189 File "$(SOURCE_DIR)/src/lxml/html/tests/test_diff.txt", line 0, in txt |
|
190 |
|
191 ---------------------------------------------------------------------- |
|
192 File "$(SOURCE_DIR)/src/lxml/html/tests/test_diff.txt", line 71, in test_diff.txt |
|
193 Failed example: |
|
194 pdiff('<img src="tease"><img><img src="test">', '<img><img src="toast">') |
|
195 Expected: |
|
196 <del><img src="tease"></del> <img><ins><img src="toast"></ins> |
|
197 <del><img src="test"></del> |
|
198 Got: |
|
199 <del><img src="tease"></del> <img> <ins><img src="toast"></ins> |
|
200 <del><img src="test"></del> |
|
201 |
|
202 |
|
203 ====================================================================== |
|
204 FAIL: txt (test_forms) |
|
205 ---------------------------------------------------------------------- |
|
206 Traceback (most recent call last): |
|
207 File "/usr/lib/python2.7/unittest/case.py", line 331, in run |
|
208 testMethod() |
|
209 File "/usr/lib/python2.7/doctest.py", line 2226, in runTest |
|
210 raise self.failureException(self.format_failure(new.getvalue())) |
|
211 AssertionError: Failed doctest test for test_forms.txt |
|
212 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 0, in txt |
|
213 |
|
214 ---------------------------------------------------------------------- |
|
215 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 51, in test_forms.txt |
|
216 Failed example: |
|
217 tostring(hidden) |
|
218 Expected: |
|
219 '<input type="hidden" name="hidden_field" value="new value">' |
|
220 Got: |
|
221 '<input type="hidden" name="hidden_field" value="new value">\n ' |
|
222 ---------------------------------------------------------------------- |
|
223 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 65, in test_forms.txt |
|
224 Failed example: |
|
225 tostring(checkbox) |
|
226 Expected: |
|
227 '<input type="checkbox" name="single_checkbox" checked>' |
|
228 Got: |
|
229 '<input type="checkbox" name="single_checkbox" checked>\n ' |
|
230 ---------------------------------------------------------------------- |
|
231 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 77, in test_forms.txt |
|
232 Failed example: |
|
233 tostring(group[0]) |
|
234 Expected: |
|
235 '<input type="checkbox" name="check_group" value="1" checked>' |
|
236 Got: |
|
237 '<input type="checkbox" name="check_group" value="1" checked>\n ' |
|
238 ---------------------------------------------------------------------- |
|
239 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 94, in test_forms.txt |
|
240 Failed example: |
|
241 tostring(radios[0]) |
|
242 Expected: |
|
243 '<input type="radio" name="radios" value="value1" id="value1" checked>' |
|
244 Got: |
|
245 '<input type="radio" name="radios" value="value1" id="value1" checked>\n ' |
|
246 ---------------------------------------------------------------------- |
|
247 File "$(SOURCE_DIR)/src/lxml/html/tests/test_forms.txt", line 97, in test_forms.txt |
|
248 Failed example: |
|
249 tostring(radios[0]) |
|
250 Expected: |
|
251 '<input type="radio" name="radios" value="value1" id="value1">' |
|
252 Got: |
|
253 '<input type="radio" name="radios" value="value1" id="value1">\n ' |
|
254 |
|
255 |
|
256 ---------------------------------------------------------------------- |
|
257 Ran 1368 tests |
|
258 |
|
259 FAILED (failures=2, errors=5) |
|
260 Comparing with ElementTree 1.3.0 |
|
261 |
|
262 TESTED VERSION: 2.3.3 |
|
263 Python: sys.version_info(major=2, minor=7, micro=10, releaselevel='final', serial=0) |
|
264 lxml.etree: (2, 3, 3, 0) |
|
265 libxml used: (2, 9, 2) |
|
266 libxml compiled: (2, 9, 2) |
|
267 libxslt used: (1, 1, 28) |
|
268 libxslt compiled: (1, 1, 28) |
|
269 |
|
270 gmake[1]: [test_inplace] Error 1 (ignored) |
|
271 ********************************************************************** |
|
272 File "$(SOURCE_DIR)/selftest.py", line 405, in selftest.iterparse |
|
273 Failed example: |
|
274 for action, elem in context: |
|
275 print("%s %s" % (action, elem.tag)) |
|
276 Exception raised: |
|
277 Traceback (most recent call last): |
|
278 File "/usr/lib/python2.7/doctest.py", line 1315, in __run |
|
279 compileflags, 1) in test.globs |
|
280 File "<doctest selftest.iterparse[2]>", line 1, in <module> |
|
281 for action, elem in context: |
|
282 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
283 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
284 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
285 XMLSyntaxError: None |
|
286 ********************************************************************** |
|
287 File "$(SOURCE_DIR)/selftest.py", line 411, in selftest.iterparse |
|
288 Failed example: |
|
289 context.root.tag |
|
290 Exception raised: |
|
291 Traceback (most recent call last): |
|
292 File "/usr/lib/python2.7/doctest.py", line 1315, in __run |
|
293 compileflags, 1) in test.globs |
|
294 File "<doctest selftest.iterparse[3]>", line 1, in <module> |
|
295 context.root.tag |
|
296 AttributeError: 'NoneType' object has no attribute 'tag' |
|
297 ********************************************************************** |
|
298 File "$(SOURCE_DIR)/selftest.py", line 415, in selftest.iterparse |
|
299 Failed example: |
|
300 for action, elem in context: |
|
301 print("%s %s" % (action, elem.tag)) |
|
302 Exception raised: |
|
303 Traceback (most recent call last): |
|
304 File "/usr/lib/python2.7/doctest.py", line 1315, in __run |
|
305 compileflags, 1) in test.globs |
|
306 File "<doctest selftest.iterparse[5]>", line 1, in <module> |
|
307 for action, elem in context: |
|
308 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
309 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
310 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
311 XMLSyntaxError: None |
|
312 ********************************************************************** |
|
313 File "$(SOURCE_DIR)/selftest.py", line 434, in selftest.iterparse |
|
314 Failed example: |
|
315 for action, elem in context: |
|
316 print("%s %s" % (action, elem.tag)) |
|
317 Exception raised: |
|
318 Traceback (most recent call last): |
|
319 File "/usr/lib/python2.7/doctest.py", line 1315, in __run |
|
320 compileflags, 1) in test.globs |
|
321 File "<doctest selftest.iterparse[14]>", line 1, in <module> |
|
322 for action, elem in context: |
|
323 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
324 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
325 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
326 XMLSyntaxError: None |
|
327 ********************************************************************** |
|
328 File "$(SOURCE_DIR)/selftest.py", line 447, in selftest.iterparse |
|
329 Failed example: |
|
330 for action, elem in context: |
|
331 if action in ("start", "end"): |
|
332 print("%s %s" % (action, elem.tag)) |
|
333 else: |
|
334 print("%s %s" % (action, elem)) |
|
335 Exception raised: |
|
336 Traceback (most recent call last): |
|
337 File "/usr/lib/python2.7/doctest.py", line 1315, in __run |
|
338 compileflags, 1) in test.globs |
|
339 File "<doctest selftest.iterparse[17]>", line 1, in <module> |
|
340 for action, elem in context: |
|
341 File "iterparse.pxi", line 491, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:98575) |
|
342 File "iterparse.pxi", line 543, in lxml.etree.iterparse._read_more_events (src/lxml/lxml.etree.c:99096) |
|
343 File "parser.pxi", line 601, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74889) |
|
344 XMLSyntaxError: None |
|
345 ********************************************************************** |
|
346 1 items had failures: |
|
347 5 of 18 in selftest.iterparse |
|
348 ***Test Failed*** 5 failures. |
|
349 179 tests ok. |
|
350 106 tests ok. |
|
351 gmake[1]: Leaving directory `$(SOURCE_DIR)' |