Py3 test fix (only failure reporting)
authorStefan Behnel <stefan_ml@behnel.de>
Thu, 9 Aug 2012 19:30:49 +0000 (21:30 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Thu, 9 Aug 2012 19:30:49 +0000 (21:30 +0200)
tests/run/pyarray.pyx

index 428a001..187906b 100644 (file)
@@ -45,7 +45,7 @@ def test_fast_access(a):
         value = ca._f[1]
     assert value == 2.0, value
 
-    assert ca._c[:5] == b'\x00\x00\x80?\x00', ca._c[:5]
+    assert ca._c[:5] == b'\x00\x00\x80?\x00', repr(ca._c[:5])
 
     with nogil:
         ca._f[1] += 2.0