diff options
| -rw-r--r-- | numpy/testing/tests/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py index 88439bff2..0069da916 100644 --- a/numpy/testing/tests/test_utils.py +++ b/numpy/testing/tests/test_utils.py @@ -268,7 +268,7 @@ class TestEqual(TestArrayEqual): self._assert_func(np.array([1, 2]), np.matrix([1, 2])) except AssertionError as e: msg = str(e) - msg2 = msg.replace("shapes (2,), (1, 2)", "shapes (2L,), (1L, 2L)") + msg2 = msg.replace("shapes (2L,), (1L, 2L)", "shapes (2,), (1, 2)") msg_reference = "\nArrays are not equal\n\n" "(shapes (2,), (1, 2) mismatch)\n" " x: array([1, 2])\n" |
