Commit bf7981fb authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 557b8ed7
...@@ -57,9 +57,9 @@ def slice_charptr_for_loop_c_to_bytes(): ...@@ -57,9 +57,9 @@ def slice_charptr_for_loop_c_to_bytes():
['B', 'C', 'q', 't', 'p'] ['B', 'C', 'q', 't', 'p']
""" """
cdef bytes b cdef bytes b
print [ b for b in cstring[:3] ] print str([ b for b in cstring[:3] ]).replace(" b'", " '").replace("[b'", "['")
print [ b for b in cstring[1:5] ] print str([ b for b in cstring[1:5] ]).replace(" b'", " '").replace("[b'", "['")
print [ b for b in cstring[4:9] ] print str([ b for b in cstring[4:9] ]).replace(" b'", " '").replace("[b'", "['")
@cython.test_assert_path_exists("//ForFromStatNode", @cython.test_assert_path_exists("//ForFromStatNode",
"//ForFromStatNode//IndexNode") "//ForFromStatNode//IndexNode")
......
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