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:
124124
125125
126126def check_id_match (id_ , pattern ):
127+ id_ = id_ .removeprefix ('array-api-tests/' )
128+
127129 if id_ == pattern :
128130 return True
129131
@@ -180,7 +182,7 @@ def pytest_collection_modifyitems(config, items):
180182
181183 disabled_exts = config .getoption ("--disable-extension" )
182184 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 )
184186
185187 # 2. Iterate through items and apply markers accordingly
186188 # ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments