diff options
| author | scoder <none@none> | 2008-05-24 11:07:08 +0200 |
|---|---|---|
| committer | scoder <none@none> | 2008-05-24 11:07:08 +0200 |
| commit | 71fbfb1e53e6263e422d2eee310fc994df0f8754 (patch) | |
| tree | 56c77ca7cc6a3976dcfd1d004e9e2f1a94c2a6c4 | |
| parent | 52e75f7e94d3d8dd68bcc620d73d3495982e3424 (diff) | |
| download | python-lxml-71fbfb1e53e6263e422d2eee310fc994df0f8754.tar.gz | |
[svn r3744] r4356@delle: sbehnel | 2008-05-24 11:05:23 +0200
unicode fix after API change
--HG--
branch : trunk
| -rw-r--r-- | src/lxml/html/tests/test_autolink.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/html/tests/test_autolink.txt b/src/lxml/html/tests/test_autolink.txt index 79075b97..a8ce01bd 100644 --- a/src/lxml/html/tests/test_autolink.txt +++ b/src/lxml/html/tests/test_autolink.txt @@ -47,7 +47,7 @@ after autolink:: >>> from lxml.html.clean import word_break_html >>> def pascii(s): - ... print(s.decode('utf8').encode('ascii', 'xmlcharrefreplace').decode('ascii')) + ... print(s.encode('ascii', 'xmlcharrefreplace').decode('ascii')) >>> pascii(word_break_html(''' ... <div>Hey you ... 12345678901234567890123456789012345678901234567890</div>''')) |
