diff --git a/numpy/core/tests/test_arrayprint.py b/numpy/core/tests/test_arrayprint.py index 97b1bd4da90d..5c366ab2e34e 100644 --- a/numpy/core/tests/test_arrayprint.py +++ b/numpy/core/tests/test_arrayprint.py @@ -28,7 +28,7 @@ class sub(np.ndarray): pass ' [3, 4]])') # two dimensional with flexible dtype - xstruct = np.ones((2,2), dtype=[('a', 'i4')]).view(sub) + xstruct = np.ones((2,2), dtype=[('a', '= 3: - assert_equal(repr(np.array('café', np.unicode_)), + assert_equal(repr(np.array('café', '