Skip to content

Commit 0565763

Browse files
committed
unit test should no longer assert error
1 parent 9568cf0 commit 0565763

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/test_runs/test_run_functions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -716,12 +716,6 @@ def test__run_task_get_arffcontent(self):
716716
num_folds = 10
717717
num_repeats = 1
718718

719-
clf = SGDClassifier(loss='hinge', random_state=1)
720-
self.assertRaisesRegexp(AttributeError,
721-
"probability estimates are not available for loss='hinge'",
722-
openml.runs.functions._run_task_get_arffcontent,
723-
clf, task, class_labels)
724-
725719
clf = SGDClassifier(loss='log', random_state=1)
726720
res = openml.runs.functions._run_task_get_arffcontent(clf, task, class_labels)
727721
arff_datacontent, arff_tracecontent, _, fold_evaluations, sample_evaluations = res

0 commit comments

Comments
 (0)