Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: abigailt <[email protected]>
  • Loading branch information
abigailgold committed Oct 8, 2024
1 parent 1283402 commit 8be48a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/estimators/classification/test_scikitlearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def test_multi_label(self):
model = ScikitlearnDecisionTreeClassifier(model=underlying_model)

pred = model.predict(x_test)
assert (pred[0].shape[0] == x_test.shape[0])
assert (isinstance(model.nb_classes, np.ndarray))
assert pred[0].shape[0] == x_test.shape[0]
assert isinstance(model.nb_classes, np.ndarray)
with self.assertRaises(TypeError):
check_and_transform_label_format(y_train, nb_classes=model.nb_classes)

Expand Down

0 comments on commit 8be48a9

Please sign in to comment.