Fix error, python2 cannot handle unicode in a .py file

pull/263/head
Pieter Marsman 2019-07-14 15:43:07 +02:00
parent 1e24bfa0bd
commit 2bb850cdae
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def test_name2unicode_uni_empty_string():
According to the specification this should be mapped to an empty string, but we also want to support lowercase According to the specification this should be mapped to an empty string, but we also want to support lowercase
hexadecimals hexadecimals
""" """
assert u'' == name2unicode('uni20ac') assert u'\u20ac' == name2unicode('uni20ac')
def test_name2unicode_uni_empty_string_long(): def test_name2unicode_uni_empty_string_long():