summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
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)