File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
from functools import lru_cache
2
2
from pathlib import Path
3
3
import argparse
4
- import math
5
4
import warnings
6
5
import os
7
6
@@ -32,7 +31,7 @@ def pytest_addoption(parser):
32
31
"--hypothesis-max-examples" ,
33
32
"--max-examples" ,
34
33
action = "store" ,
35
- default = 20 ,
34
+ default = 100 ,
36
35
type = int ,
37
36
help = "set the Hypothesis max_examples setting" ,
38
37
)
@@ -157,7 +156,7 @@ def pytest_collection_modifyitems(config, items):
157
156
158
157
disabled_exts = config .getoption ("--disable-extension" )
159
158
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
161
160
162
161
# 2. Iterate through items and apply markers accordingly
163
162
# ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments