Skip to content

Commit 848f8c7

Browse files
Fix test
1 parent f7df8f5 commit 848f8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skore/tests/unit/sklearn/plot/roc_curve/test_comparison_cross_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_binary_classification(pyplot):
5454
assert isinstance(display.ax_, mpl.axes.Axes)
5555
legend = display.ax_.get_legend()
5656
assert legend.get_title().get_text() == r"Binary-Classification on $\bf{test}$ set"
57-
assert len(legend.get_texts()) == n_reports
57+
assert len(legend.get_texts()) == n_reports + 1
5858

5959
assert display.ax_.get_xlabel() == "False Positive Rate\n(Positive label: 1)"
6060
assert display.ax_.get_ylabel() == "True Positive Rate\n(Positive label: 1)"

0 commit comments

Comments
 (0)