Commit 01b72ecb authored by Stefan Behnel's avatar Stefan Behnel

test fixes

parent d925b7a0
......@@ -21,13 +21,13 @@ def normalize(bytes b):
def test_string(o):
"""
>>> normalize(test_string(b"abc"))
>>> normalize(test_string("abc".encode('ascii')))
'abc'
>>> normalize(test_string(b"abc\\x00def"))
>>> normalize(test_string("abc\\x00def".encode('ascii')))
'abc\\x00def'
"""
cdef string s = o
return o
return s
def test_string_call(a, b):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment