From 1ce6cae678b490810bdc061795fdbe6f87bec653 Mon Sep 17 00:00:00 2001 From: Hassan Maissoro Date: Mon, 6 Oct 2025 10:45:52 +0200 Subject: [PATCH] Fix: update the docstring of test_warning_estimator_none --- mapie/tests/risk_control/test_precision_recall_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapie/tests/risk_control/test_precision_recall_control.py b/mapie/tests/risk_control/test_precision_recall_control.py index 7675f5096..a00e5b15c 100644 --- a/mapie/tests/risk_control/test_precision_recall_control.py +++ b/mapie/tests/risk_control/test_precision_recall_control.py @@ -598,7 +598,7 @@ def test_delta_none_crc() -> None: def test_warning_estimator_none() -> None: - """Test that a warning is raised nound is not None with CRC method.""" + """Test that a warning is raised when estimator is None.""" mapie_clf = PrecisionRecallController(random_state=random_state) with pytest.warns(UserWarning, match=r"WARNING: To avoid overfitting,*"): mapie_clf.fit(X_toy, y_toy)