diff options
| author | Orf <tom@tomforb.es> | 2013-07-30 11:13:41 +0100 |
|---|---|---|
| committer | Orf <tom@tomforb.es> | 2013-07-30 11:13:41 +0100 |
| commit | 14fb8b20df07e999a3d2f0304dd8bf07d52f9eff (patch) | |
| tree | c0eadda5d9f82f4c4060dc34cec977049ed8dc75 /src/lxml/html | |
| parent | 969355c5e86e35f77a657ef305cbf1ac7a2d77f8 (diff) | |
| download | python-lxml-14fb8b20df07e999a3d2f0304dd8bf07d52f9eff.tar.gz | |
Fix random test failing
Diffstat (limited to 'src/lxml/html')
| -rw-r--r-- | src/lxml/html/tests/test_diff.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lxml/html/tests/test_diff.txt b/src/lxml/html/tests/test_diff.txt index fe43b513..8f1849e4 100644 --- a/src/lxml/html/tests/test_diff.txt +++ b/src/lxml/html/tests/test_diff.txt @@ -10,9 +10,6 @@ First, a handy function for normalizing whitespace and doing word wrapping:: >>> def pdiff(text1, text2): ... pwrapped(htmldiff(text1, text2)) - <p>This is some test <ins>textual writing with some changed stuff - </ins> <del>text with some changes</del> and some same stuff</p> - Example:: >>> from lxml.html.diff import htmldiff, html_annotate @@ -20,8 +17,8 @@ Example:: >>> html2 = '''<p>This is some test textual writing with some changed stuff ... and some same stuff</p>''' >>> pdiff(html1, html2) - <p>This is some test <ins>textual writing with some changed - stuff</ins> <del>text with some changes</del> and some same stuff</p> + <p>This is some test <ins>textual writing with some changed stuff + </ins> <del>text with some changes</del> and some same stuff</p> Style tags are largely ignored in terms of differences, though markup is not eliminated:: |
