File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ def xp_has_ext(ext: str) -> bool:
124
124
125
125
126
126
def check_id_match (id_ , pattern ):
127
+ id_ = id_ .removeprefix ('array-api-tests/' )
128
+
127
129
if id_ == pattern :
128
130
return True
129
131
@@ -180,7 +182,7 @@ def pytest_collection_modifyitems(config, items):
180
182
181
183
disabled_exts = config .getoption ("--disable-extension" )
182
184
disabled_dds = config .getoption ("--disable-data-dependent-shapes" )
183
- unvectorized_max_examples = config .getoption ("--hypothesis-max-examples" )// 10
185
+ unvectorized_max_examples = max ( 1 , config .getoption ("--hypothesis-max-examples" )// 10 )
184
186
185
187
# 2. Iterate through items and apply markers accordingly
186
188
# ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments