File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,9 @@ def test_run_optimize_bagging_diabetes(self):
166166
167167 run = self ._perform_run (task_id , num_test_instances , grid_search )
168168 self .assertEqual (len (run .trace_content ), num_iterations * num_folds )
169-
169+ res = self ._check_serialized_optimized_run (run .run_id )
170+ self .assertTrue (res )
171+
170172 def test_run_with_classifiers_in_param_grid (self ):
171173 task = openml .tasks .get_task (115 )
172174
@@ -178,10 +180,6 @@ def test_run_with_classifiers_in_param_grid(self):
178180 self .assertRaises (TypeError , openml .runs .run_task ,
179181 task = task , model = clf , avoid_duplicate_runs = False )
180182
181-
182- res = self ._check_serialized_optimized_run (run .run_id )
183- self .assertTrue (res )
184-
185183 def test_run_pipeline (self ):
186184 task_id = 115
187185 num_instances = 768
You can’t perform that action at this time.
0 commit comments