From bf7981fb37b19f08a331c704df8bf25d3b299be5 Mon Sep 17 00:00:00 2001 From: Stefan Behnel <stefan_ml@behnel.de> Date: Wed, 25 Jul 2012 12:44:00 +0200 Subject: [PATCH] Py3 test fix --- tests/run/carray_slicing.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run/carray_slicing.pyx b/tests/run/carray_slicing.pyx index dbfdb7449..4bc773992 100644 --- a/tests/run/carray_slicing.pyx +++ b/tests/run/carray_slicing.pyx @@ -57,9 +57,9 @@ def slice_charptr_for_loop_c_to_bytes(): ['B', 'C', 'q', 't', 'p'] """ cdef bytes b - print [ b for b in cstring[:3] ] - print [ b for b in cstring[1:5] ] - print [ b for b in cstring[4:9] ] + print str([ b for b in cstring[:3] ]).replace(" b'", " '").replace("[b'", "['") + print str([ b for b in cstring[1:5] ]).replace(" b'", " '").replace("[b'", "['") + print str([ b for b in cstring[4:9] ]).replace(" b'", " '").replace("[b'", "['") @cython.test_assert_path_exists("//ForFromStatNode", "//ForFromStatNode//IndexNode") -- 2.30.9