summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorAlex <aprockhill206@gmail.com>2020-05-15 00:00:48 -0700
committerAlex <aprockhill206@gmail.com>2020-07-22 11:59:30 -0700
commit5db1c6a48c9bf626ad171caab6085eec5b7408ea (patch)
tree1b809b739cc59e316870d5f8f061504e59598002 /numpy/lib/tests/test_function_base.py
parent8066b45451eff24228bb5af96aad2fe0bd548383 (diff)
downloadnumpy-5db1c6a48c9bf626ad171caab6085eec5b7408ea.tar.gz
changed from large number error to different solution
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 35225ff21..d6e768a2b 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1743,7 +1743,7 @@ class TestDigitize:
# gh-11022
x = 2**54 # loses precision in a float
assert_equal(np.digitize(x, [x - 1, x + 1]), 1)
- assert_raises(ValueError, digitize, x, [x - 1, x + 1], False, True)
+ assert_equal(np.digitize(x, [x - 1, x + 1], False, True), 1)
@pytest.mark.xfail(
reason="gh-11022: np.core.multiarray._monoticity loses precision")