From 6ec4b478a9ffc9ce9d34481e542c86eaa8499f6e Mon Sep 17 00:00:00 2001 From: adisbladis Date: Thu, 7 Nov 2024 05:44:55 +0000 Subject: [PATCH] setup.py: Remove trailing whitespace from error message This is an annoyance when writing tests asserting the exact shape of the error output. My editor is set up to automatically remove trailing whitespace on save, making the existing test fixture invalid every time the file is saved. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 643ec24..bec9ef4 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def likely_error(): error_message = "\n".join( [ "The 'sklearn' PyPI package is deprecated, use 'scikit-learn'", - "rather than 'sklearn' for pip commands. ", + "rather than 'sklearn' for pip commands.", "", "Here is how to fix this error in the main use cases:", "- use 'pip install scikit-learn' rather than 'pip install sklearn'",