Skip to content

Commit 6336fe8

Browse files
committed
fix test_xmlrunner_non_ascii for py38
1 parent 6fdb57e commit 6336fe8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testsuite.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ def test_xmlrunner_non_ascii(self):
323323
outdir.seek(0)
324324
output = outdir.read()
325325
self.assertIn(
326-
u'<skipped message="demonstrating non-ascii skipping: éçà" '
327-
u'type="skip"/>'.encode('utf8'),
326+
u'message="demonstrating non-ascii skipping: éçà"'.encode('utf8'),
328327
output)
329328

330329
def test_xmlrunner_safe_xml_encoding_name(self):

0 commit comments

Comments
 (0)