FIX Add missing f prefix for f-string in check_sample_weights_not_overwritten
@@ -1108,7 +1108,7 @@ def check_sample_weights_not_overwritten(name, estimator_orig):
estimator.fit(X, y, sample_weight=sample_weight_fit)
- err_msg = "{name} overwrote the original `sample_weight` given during fit"
+ err_msg = f"{name} overwrote the original `sample_weight` given during fit"
assert_allclose(sample_weight_fit, sample_weight_original, err_msg=err_msg)
