Skip to content

Commit

Permalink
Update skore/tests/unit/sklearn/test_estimator.py
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Lemaitre <[email protected]>
  • Loading branch information
augustebaum and glemaitre authored Jan 10, 2025
1 parent 5b9b55a commit 5cf18ee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions skore/tests/unit/sklearn/test_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,11 +946,8 @@ def test_estimator_has_side_effects():
)

predictions_before = report.estimator.predict_proba(X_test)

estimator.fit(X_train2, y_train2)

estimator.fit(X_test, y_test)
predictions_after = report.estimator.predict_proba(X_test)

np.testing.assert_array_equal(predictions_before, predictions_after)


Expand Down

0 comments on commit 5cf18ee

Please sign in to comment.