Skip to content

Commit

Permalink
Use max_examples/10 for unvectorized_max_examples
Browse files Browse the repository at this point in the history
Previously it was log(max_examples), but this makes it very difficult to
actually run a lot of examples by increasing max_examples.
  • Loading branch information
asmeurer committed Jun 5, 2024
1 parent 5818ec1 commit 3e9f8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,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

0 comments on commit 3e9f8a6

Please sign in to comment.