@@ -28,7 +28,7 @@ def tearDownClass(cls):
2828 min_size = 2 , max_size = 2 , unique = True ).map (sorted ),
2929 z_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
3030 min_size = 2 , max_size = 2 , unique = True ).map (sorted ))
31- @settings (max_examples = 10 )
31+ @settings (max_examples = 10 , deadline = 300 )
3232 def testLoopCombinedParameterPrintTask (self , npoints , x_start_stop , y_start_stop , z_start_stop ):
3333
3434 x_set = np .linspace (x_start_stop [0 ], x_start_stop [1 ], npoints )
@@ -64,7 +64,7 @@ def btaskfunc():
6464 min_size = 2 , max_size = 2 , unique = True ).map (sorted ),
6565 z_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
6666 min_size = 2 , max_size = 2 , unique = True ).map (sorted ))
67- @settings (max_examples = 10 )
67+ @settings (max_examples = 10 , deadline = 300 )
6868 def testLoopCombinedParameterTwice (self , npoints , x_start_stop , y_start_stop , z_start_stop ):
6969 x_set = np .linspace (x_start_stop [0 ], x_start_stop [1 ], npoints )
7070 y_set = np .linspace (y_start_stop [0 ], y_start_stop [1 ], npoints )
@@ -102,7 +102,7 @@ def inner():
102102 min_size = 2 , max_size = 2 , unique = True ).map (sorted ),
103103 z_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
104104 min_size = 2 , max_size = 2 , unique = True ).map (sorted ))
105- @settings (max_examples = 10 )
105+ @settings (max_examples = 10 , deadline = 300 )
106106 def testLoopCombinedParameterAndMore (self , npoints , x_start_stop , y_start_stop , z_start_stop ):
107107 x_set = np .linspace (x_start_stop [0 ], x_start_stop [1 ], npoints )
108108 y_set = np .linspace (y_start_stop [0 ], y_start_stop [1 ], npoints )
@@ -134,15 +134,15 @@ def inner():
134134 np .testing .assert_array_equal (data .arrays ['dmm_somethingelse' ].ndarray , np .ones (npoints ))
135135 np .testing .assert_array_equal (data .arrays ['dmm_voltage_2' ].ndarray , np .arange (2 , npoints * 2 + 1 , 2 ))
136136
137- @given (npoints = hst .integers (2 , 100 ),
138- npoints_outer = hst .integers (2 ,100 ),
137+ @given (npoints = hst .integers (2 , 50 ),
138+ npoints_outer = hst .integers (2 ,25 ),
139139 x_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
140140 min_size = 2 , max_size = 2 , unique = True ).map (sorted ),
141141 y_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
142142 min_size = 2 , max_size = 2 , unique = True ).map (sorted ),
143143 z_start_stop = hst .lists (hst .integers (min_value = - 800 , max_value = 400 ),
144144 min_size = 2 , max_size = 2 , unique = True ).map (sorted ))
145- @settings (max_examples = 10 )
145+ @settings (max_examples = 10 , deadline = 1000 )
146146 def testLoopCombinedParameterInside (self , npoints , npoints_outer , x_start_stop , y_start_stop , z_start_stop ):
147147 x_set = np .linspace (x_start_stop [0 ], x_start_stop [1 ], npoints_outer )
148148 y_set = np .linspace (y_start_stop [0 ], y_start_stop [1 ], npoints )
0 commit comments