Skip to content

Commit de31243

Browse files
author
Marc DM
committed
tweaks so that Travis doesn't complain
1 parent c8e024b commit de31243

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

html5lib/serializer/htmlserializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from __future__ import absolute_import, division, unicode_literals
2-
from six import text_type, string_types
2+
from six import string_types
33

44
import gettext
55
_ = gettext.gettext

html5lib/tests/test_six_encoding.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
from html5lib import html5parser, treewalkers, serializer
33
from nose.tools import eq_
44

5+
56
def test_treewalker6():
67
"""Str/Unicode mix. If str attrs added to tree"""
7-
8+
89
text = '<a href="http://example.com">Example</a>'
910
end_text = '<a href="http://example.com" class="test123">Example</a>'
1011
parser = html5parser.HTMLParser()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy