Commit 559984b7 authored by Stefan Behnel's avatar Stefan Behnel

fix test when using NumPy 1.7

parent 3f41b340
...@@ -303,7 +303,7 @@ def three_dim(): ...@@ -303,7 +303,7 @@ def three_dim():
def obj_array(): def obj_array():
cdef object[object, ndim=1] buf = np.array(["a", 1, {}]) cdef object[object, ndim=1] buf = np.array(["a", 1, {}])
print buf print str(buf).replace('"', '').replace("'", '')
print buf[0], buf[1], buf[2] print buf[0], buf[1], buf[2]
......
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