We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bef0ea3 + db95e67 commit 4da61e5Copy full SHA for 4da61e5
1 file changed
conftest.py
@@ -124,6 +124,8 @@ def xp_has_ext(ext: str) -> bool:
124
125
126
def check_id_match(id_, pattern):
127
+ id_ = id_.removeprefix('array-api-tests/')
128
+
129
if id_ == pattern:
130
return True
131
@@ -180,7 +182,7 @@ def pytest_collection_modifyitems(config, items):
180
182
181
183
disabled_exts = config.getoption("--disable-extension")
184
disabled_dds = config.getoption("--disable-data-dependent-shapes")
- unvectorized_max_examples = config.getoption("--hypothesis-max-examples")//10
185
+ unvectorized_max_examples = max(1, config.getoption("--hypothesis-max-examples")//10)
186
187
# 2. Iterate through items and apply markers accordingly
188
# ------------------------------------------------------
0 commit comments