diff options
author | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-10 16:49:35 -0400 |
---|---|---|
committer | MilesCranmer <miles.cranmer@gmail.com> | 2022-06-10 17:41:32 -0400 |
commit | d7e2582cd33b22a767286e8a3d95b336dfe51a34 (patch) | |
tree | 003e8dd16090b571c57be696be272c5d9efc36d4 /numpy/lib/tests/test_arraysetops.py | |
parent | d3081b65ec8361e2f5b4890286eba441f1081d34 (diff) | |
download | numpy-d7e2582cd33b22a767286e8a3d95b336dfe51a34.tar.gz |
MAINT: bool instead of np.bool_ dtype
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r-- | numpy/lib/tests/test_arraysetops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py index e4f37556a..d54ca1673 100644 --- a/numpy/lib/tests/test_arraysetops.py +++ b/numpy/lib/tests/test_arraysetops.py @@ -454,7 +454,7 @@ class TestSetOps: # This hits it without the use of method='dictionary' a = np.array([5, 4, 5, 3, 4, 4, 1e9], dtype=np.int64) b = np.array([2, 3, 4, 1e9], dtype=np.int64) - expected = np.array([0, 1, 0, 1, 1, 1, 1], dtype=np.bool) + expected = np.array([0, 1, 0, 1, 1, 1, 1], dtype=bool) assert_array_equal(expected, in1d(a, b)) assert_array_equal(np.invert(expected), in1d(a, b, invert=True)) |