summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-04-11 12:59:31 -0500
committerGitHub <noreply@github.com>2021-04-11 12:59:31 -0500
commita06bac0c9da0c6fe0a5d03073ff777066f4f63eb (patch)
treec0ff475dd4cd226a0740da6019fc8b0ff14eac03
parent98ec22a2e5d82da7ee5bc63e4f2445df0e100e64 (diff)
parenta100272b6f8cbfad2b18dfd638a0fb2bf51563d6 (diff)
downloadnumpy-a06bac0c9da0c6fe0a5d03073ff777066f4f63eb.tar.gz
Merge pull request #18750 from charris/fix-scalarmath-test
MAINT: Allow more recursion depth for scalar tests.
-rw-r--r--numpy/core/tests/test_scalarmath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_scalarmath.py b/numpy/core/tests/test_scalarmath.py
index 1ae8c9a65..d91b4a391 100644
--- a/numpy/core/tests/test_scalarmath.py
+++ b/numpy/core/tests/test_scalarmath.py
@@ -737,7 +737,7 @@ reasonable_operators_for_scalars = [
@settings(verbosity=Verbosity.verbose)
def test_operator_object_left(o, op, type_):
try:
- with recursionlimit(100):
+ with recursionlimit(200):
op(o, type_(1))
except TypeError:
pass
@@ -748,7 +748,7 @@ def test_operator_object_left(o, op, type_):
sampled_from(types))
def test_operator_object_right(o, op, type_):
try:
- with recursionlimit(100):
+ with recursionlimit(200):
op(type_(1), o)
except TypeError:
pass