summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Pitters <tobias.pitters@gmail.com>2020-06-10 01:49:14 +0200
committerTobias Pitters <tobias.pitters@gmail.com>2020-06-10 01:49:14 +0200
commit961d1b6290ba474b213a189528fc9d45e210ecc3 (patch)
tree9293cc0f23e4b26795427139fa0807eaab31ce32
parent172b7d3477452b8669e2fdd1ea5ede078e5a06c4 (diff)
downloadnumpy-961d1b6290ba474b213a189528fc9d45e210ecc3.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 1d2ebc9a8..b5d034f29 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -3138,7 +3138,7 @@ class TestLerp:
if t0 == t1 or a == b:
assert l0 == l1 # uninteresting
elif (t0 < t1) == (a < b):
- assert l0 < l1
+ assert l0 <= l1
else:
assert l0 >= l1