summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/f2py/tests/test_crackfortran.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/f2py/tests/test_crackfortran.py b/numpy/f2py/tests/test_crackfortran.py
index b577eaf38..67693b019 100644
--- a/numpy/f2py/tests/test_crackfortran.py
+++ b/numpy/f2py/tests/test_crackfortran.py
@@ -298,5 +298,6 @@ class TestNameArgsPatternBacktracking:
# the problematic pattern.
assert total_time < 1.9 * last_time
# also try to rule out non-exponential but still bad cases
- assert total_time < 1
+ # arbitrarily, we should set a hard limit of 10ms as too slow
+ assert total_time < trials_per_count * 0.01
last_time = total_time \ No newline at end of file