Skip to content

Commit 4c70af1

Browse files
committed
fixed unit tests
1 parent eab1720 commit 4c70af1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_runs/test_run_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_run_and_upload(self):
190190
self.assertEqual(len(run.trace_content), num_iterations * num_folds)
191191
check_res = self._check_serialized_optimized_run(run.run_id)
192192
self.assertTrue(check_res)
193-
193+
194194
# todo: check if runtime is present
195195
pass
196196

@@ -444,7 +444,7 @@ def test__run_task_get_arffcontent(self):
444444
clf, task, class_labels)
445445

446446
clf = SGDClassifier(loss='log', random_state=1)
447-
arff_datacontent, arff_tracecontent, _ = openml.runs.functions._run_task_get_arffcontent(
447+
arff_datacontent, arff_tracecontent, _, _ = openml.runs.functions._run_task_get_arffcontent(
448448
clf, task, class_labels)
449449
# predictions
450450
self.assertIsInstance(arff_datacontent, list)
@@ -613,7 +613,7 @@ def test_run_on_dataset_with_missing_labels(self):
613613
model = Pipeline(steps=[('Imputer', Imputer(strategy='median')),
614614
('Estimator', DecisionTreeClassifier())])
615615

616-
data_content, _, _ = _run_task_get_arffcontent(model, task, class_labels)
616+
data_content, _, _, _ = _run_task_get_arffcontent(model, task, class_labels)
617617
# 2 folds, 5 repeats; keep in mind that this task comes from the test
618618
# server, the task on the live server is different
619619
self.assertEqual(len(data_content), 4490)

0 commit comments

Comments
 (0)