We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d883a8 commit 4e14749Copy full SHA for 4e14749
conftest.py
@@ -155,7 +155,7 @@ def pytest_collection_modifyitems(config, items):
155
156
disabled_exts = config.getoption("--disable-extension")
157
disabled_dds = config.getoption("--disable-data-dependent-shapes")
158
- unvectorized_max_examples = math.ceil(math.log(config.getoption("--hypothesis-max-examples") or 50))
+ unvectorized_max_examples = math.ceil(math.log(int(config.getoption("--hypothesis-max-examples")) or 50))
159
160
# 2. Iterate through items and apply markers accordingly
161
# ------------------------------------------------------
@@ -239,4 +239,4 @@ def pytest_collection_modifyitems(config, items):
239
f"{f_bad_ids}\n"
240
f"(xfails file: {xfails_file})\n"
241
f"{bad_ids_end_msg}"
242
- )
+ )
0 commit comments