fix py3.5 xmlescape with bytes

This commit is contained in:
ilvalle
2016-09-09 16:29:55 +02:00
parent b84b47dad2
commit 2ec0c0b535
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -253,6 +253,7 @@ class TestBareHelpers(unittest.TestCase):
# test .get('attrib')
self.assertEqual(DIV('<p>Test</p>', _class="class_test").get('_class'), 'class_test')
self.assertEqual(DIV(b'a').xml(), b'<div>a</div>')
def test_CAT(self):
# Empty CAT()