Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from functools import lru_cache
from pathlib import Path
import argparse
import math
import warnings
import os

Expand All @@ -23,7 +22,7 @@ def pytest_addoption(parser):
"--hypothesis-max-examples",
"--max-examples",
action="store",
default=20,
default=100,
type=int,
help="set the Hypothesis max_examples setting",
)
Expand Down Expand Up @@ -148,7 +147,7 @@ def pytest_collection_modifyitems(config, items):

disabled_exts = config.getoption("--disable-extension")
disabled_dds = config.getoption("--disable-data-dependent-shapes")
unvectorized_max_examples = math.ceil(math.log(config.getoption("--hypothesis-max-examples")))
unvectorized_max_examples = config.getoption("--hypothesis-max-examples")//10

# 2. Iterate through items and apply markers accordingly
# ------------------------------------------------------
Expand Down