From 559984b7bb243d8337166f3c0b0c277863d33b58 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 26 Jan 2013 11:06:26 +0100 Subject: [PATCH] fix test when using NumPy 1.7 --- tests/run/numpy_test.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run/numpy_test.pyx b/tests/run/numpy_test.pyx index 6030b8a..1dff684 100644 --- a/tests/run/numpy_test.pyx +++ b/tests/run/numpy_test.pyx @@ -303,7 +303,7 @@ def three_dim(): def obj_array(): cdef object[object, ndim=1] buf = np.array(["a", 1, {}]) - print buf + print str(buf).replace('"', '').replace("'", '') print buf[0], buf[1], buf[2] -- 2.7.4