Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Jul 30, 2018
1 parent 11a6656 commit f4cacf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/PortalTransforms/tests/test_xss.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def test_35(self):

def test_36(self):
data_in = r"""Normal text—whew."""
data_out = u'Normal text{}whew.'.format(html5entities['mdash;'])
data_out = 'Normal text{}whew.'.format(html5entities['mdash;'].encode('utf-8')) # noqa
self.doTest(data_in, data_out)

def test_37(self):
Expand Down

0 comments on commit f4cacf1

Please sign in to comment.