summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Pitters <tobias.pitters@gmail.com>2020-06-10 01:17:24 +0200
committerTobias Pitters <tobias.pitters@gmail.com>2020-06-10 01:17:24 +0200
commit172b7d3477452b8669e2fdd1ea5ede078e5a06c4 (patch)
tree833cc398758da767737b7ec675eab4e53bad044c
parente7603603e14288c9aedc0f6216f940c6658ee8e5 (diff)
downloadnumpy-172b7d3477452b8669e2fdd1ea5ede078e5a06c4.tar.gz
check for `greater-equal` in lerp monotony test
-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 763a0da78..1d2ebc9a8 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -3140,7 +3140,7 @@ class TestLerp:
elif (t0 < t1) == (a < b):
assert l0 < l1
else:
- assert l0 > l1
+ assert l0 >= l1
@hypothesis.given(t=st.floats(allow_nan=False, allow_infinity=False,
min_value=0, max_value=1),