fix test_html and test_template for py3

This commit is contained in:
ilvalle committed 2016-06-03 11:46:32 +02:00
1 parent db8306b5c4
commit 97eb013831
12 files changed
+266 -224

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ Cross-site scripting (XSS) defense
-----------------------------------
"""
from ._compat import HTMLParser, urlparse, entitydefs
from ._compat import HTMLParser, urlparse, entitydefs, basestring
from cgi import escape
from formatter import AbstractFormatter
from xml.sax.saxutils import quoteattr