2008年11月21日金曜日

expatのversion

このエントリーをブックマークに追加 このエントリーを含むはてなブックマーク
expatのversionが.pyと.c、packageが期待している環境と現状の環境で違うらしい。どうしたものか。


[nori@asama]~/Desktop/work/elementtree/work% make test
python selftest.py
elementtree test
/home/nori/Desktop/work/elementtree/work/elementtree/ElementTree.py:728: FutureWarning: This search is broken in 1.3 and earlier; if you rely on the current behaviour, change it to './tag'
FutureWarning
**********************************************************************
File "/home/nori/Desktop/work/elementtree/work/tests/ptest.py", line 1050, in tests.ptest.bug_200708_version
Failed example:
parser.version
Expected:
'Expat 2.0.0'
Got:
'Expat 1.95.8'
**********************************************************************
1 items had failures:
1 of 4 in tests.ptest.bug_200708_version
***Test Failed*** 1 failures.
342 tests ok.
cElementTree test
**********************************************************************
File "/home/nori/Desktop/work/elementtree/work/tests/ctest.py", line 257, in tests.ctest.encoding
Failed example:
serialize(elem)
Expected:
'<tag key="&lt;&amp;&quot;&apos;&gt;" />'
Got:
'<tag key="&lt;&amp;&quot;\'&gt;" />'

0 件のコメント: