Only newly broken tests were fixed. If lxml is installed on windows, there are 21 failing tests. https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/_tests/tes... File MoinMoin/converter/_tests/test_html_in.py (right): https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/_tests/tes... MoinMoin/converter/_tests/test_html_in.py:89: '/page/body/div/text()="Div"'), the 1 space indentation above is inconsistent with the 4 space indentation below. Will fix in followup changeset. https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/_tests/tes... File MoinMoin/converter/_tests/test_html_in_out.py (right): https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/_tests/tes... MoinMoin/converter/_tests/test_html_in_out.py:70: '/div/div/p[@class="class"][@title="title"][text()="Test"]'), ditto re. indentation
https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/html_in.py File MoinMoin/converter/html_in.py (left): https://codereview.appspot.com/243890043/diff/1/MoinMoin/converter/html_in.py... MoinMoin/converter/html_in.py:106: if html_tree.tag.name != 'html' and html_tree.tag.name != 'div': deletion reverses c20b7349dfd7 from 2010-06-28. Per comment intent was to avoid a div within a div. This obviously effects several tests with unusual input, but could not find an instance while rendering a normal wiki page.