From 90c9a4d41834a16b0dc2d323300f171a5316a8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Tue, 19 Sep 2023 22:09:19 +0200 Subject: [PATCH] MNT Remove test suite setuptools dependency for good (#27420) --- sklearn/tests/test_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/tests/test_common.py b/sklearn/tests/test_common.py index a5f485ee1a882..8b407d18f90d8 100644 --- a/sklearn/tests/test_common.py +++ b/sklearn/tests/test_common.py @@ -218,7 +218,7 @@ def test_import_all_consistency(): if ".tests." in modname: continue # Avoid test suite depending on setuptools - if modname == "sklearn._build_utils.pre_build_helpers": + if "sklearn._build_utils" in modname: continue if IS_PYPY and ( "_svmlight_format_io" in modname