summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
authorMilesCranmer <miles.cranmer@gmail.com>2022-06-10 20:41:07 -0400
committerMilesCranmer <miles.cranmer@gmail.com>2022-06-10 20:58:37 -0400
commit7a1ee13ee28083c484a42a657067570773bcddbe (patch)
tree5ea6463433c01ada65167b25b5d6be21ebc8bcaa /numpy/lib/tests/test_arraysetops.py
parent6d91753cfbc95c9968262c8bc0a3ffc9c184cb01 (diff)
downloadnumpy-7a1ee13ee28083c484a42a657067570773bcddbe.tar.gz
MAINT: Fix misplaced default in in1d test
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r--numpy/lib/tests/test_arraysetops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py
index 3dc125734..cbf39c604 100644
--- a/numpy/lib/tests/test_arraysetops.py
+++ b/numpy/lib/tests/test_arraysetops.py
@@ -205,8 +205,8 @@ class TestSetOps:
isin_slow = np.vectorize(_isin_slow, otypes=[bool], excluded={1})
def assert_isin_equal(a, b, old_algorithm=None):
- method = "sort" if old_algorithm else "dictionary"
- x = isin(a, b, method=old_algorithm)
+ method = "sort" if old_algorithm else "auto"
+ x = isin(a, b, method=method)
y = isin_slow(a, b)
assert_array_equal(x, y)