File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11from functools import lru_cache
22from pathlib import Path
33import argparse
4- import math
54import warnings
65import os
76
@@ -32,7 +31,7 @@ def pytest_addoption(parser):
3231 "--hypothesis-max-examples" ,
3332 "--max-examples" ,
3433 action = "store" ,
35- default = 20 ,
34+ default = 100 ,
3635 type = int ,
3736 help = "set the Hypothesis max_examples setting" ,
3837 )
@@ -157,7 +156,7 @@ def pytest_collection_modifyitems(config, items):
157156
158157 disabled_exts = config .getoption ("--disable-extension" )
159158 disabled_dds = config .getoption ("--disable-data-dependent-shapes" )
160- unvectorized_max_examples = math . ceil ( math . log ( config .getoption ("--hypothesis-max-examples" )))
159+ unvectorized_max_examples = config .getoption ("--hypothesis-max-examples" )// 10
161160
162161 # 2. Iterate through items and apply markers accordingly
163162 # ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments