File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,13 @@ def pytest_configure(config):
8686 "unvectorized: asserts against values via element-wise iteration (not performative!)" ,
8787 )
8888 # Hypothesis
89- profile_settings = {
90- "max_examples" : config . getoption ( "--hypothesis-max-examples" ),
91- "derandomize" : config . getoption ( "--hypothesis-derandomize" ) ,
92- }
93- if config .getoption ("--hypothesis-disable-deadline" ):
94- profile_settings [ " deadline" ] = None
95- settings . register_profile ( "array-api-tests" , ** profile_settings )
89+ deadline = None if config . getoption ( "--hypothesis-disable-deadline" ) else 800
90+ settings . register_profile (
91+ "array-api-tests" ,
92+ max_examples = config . getoption ( "--hypothesis-max-examples" ),
93+ derandomize = config .getoption ("--hypothesis-derandomize" ),
94+ deadline = deadline ,
95+ )
9696 settings .load_profile ("array-api-tests" )
9797 # CI
9898 if config .getoption ("--ci" ):
You can’t perform that action at this time.
0 commit comments