# HG changeset patch # User Bastian Blank # Date 1356280192 -3600 # Node ID 0121a7ec18b2dfdfa62077d0d59599c1b1605702 # Parent 2d7b39aaa59065fb68f4fa97970b6e61cce94b36 Tests for HTML - Don't use unicode diff -r 2d7b39aaa590 -r 0121a7ec18b2 emeraldtree/tests/test_html.py --- a/emeraldtree/tests/test_html.py Sun May 20 20:43:53 2012 +0200 +++ b/emeraldtree/tests/test_html.py Sun Dec 23 17:29:52 2012 +0100 @@ -46,11 +46,11 @@ assert len(elem) == 0 def test_write(): - elem = html.HTML(u'

') + elem = html.HTML('

') h = serialize(elem, 'html') p = serialize(elem, 'polyglot') x = serialize(elem, 'xml') - assert u'

' in h - assert u'

' in p - assert u'

' in x + assert '

' in h + assert '

' in p + assert '

' in x