Fix error, python2 cannot handle unicode in a .py file
parent
1e24bfa0bd
commit
2bb850cdae
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue