diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2019-08-31 20:43:13 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2019-09-05 18:07:18 -0400 |
commit | d6f7524defc808f32219528350429d5569696183 (patch) | |
tree | 717e40e1f6c4f3de714211e7e0e7ef947dc34b54 /numpy/core/tests | |
parent | 7c3adfb7436a37d995721f1c793e5e3ced6d9b7e (diff) | |
download | numpy-d6f7524defc808f32219528350429d5569696183.tar.gz |
BUG: Fix fieldless comparison broadcasting
Fixes #13438
Diffstat (limited to 'numpy/core/tests')
-rw-r--r-- | numpy/core/tests/test_dtype.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_dtype.py b/numpy/core/tests/test_dtype.py index 6230b27b7..f5ca775ef 100644 --- a/numpy/core/tests/test_dtype.py +++ b/numpy/core/tests/test_dtype.py @@ -441,8 +441,8 @@ class TestRecord(object): assert_equal(np.zeros(2, dtype=[]) == np.zeros(2, dtype=[]), np.ones(2, dtype=bool)) - assert_equal(np.zeros(2, dtype=[]) == a, - np.ones(2, dtype=bool)) + assert_equal(np.zeros((1, 2), dtype=[]) == a, + np.ones((1, 2), dtype=bool)) class TestSubarray(object): |