8000 REVERT the old GS/RS should also be tested by the common tests. · raghavrv/scikit-learn@64eebe2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64eebe2

Browse files
committed
REVERT the old GS/RS should also be tested by the common tests.
1 parent <
8000
a class="color-fg-default Link--inTextBlock prc-Link-Link-85e08" data-hotkey="p" data-hovercard-url="/raghavrv/scikit-learn/commit/a33df2de8cb82c0c17314d26b9f81768da4a5935/hovercard" href="/raghavrv/scikit-learn/commit/a33df2de8cb82c0c17314d26b9f81768da4a5935">a33df2d commit 64eebe2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sklearn/utils/testing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,7 @@ def is_abstract(c):
605605
path = sklearn.__path__
606606
for importer, modname, ispkg in pkgutil.walk_packages(
607607
path=path, prefix='sklearn.', onerror=lambda x: None):
608-
# Prevent adding *SearchCV estimators from the old grid_search module
609-
if (".tests." in modname) or ("grid_search" in modname):
608+
if (".tests." in modname):
610609
continue
611610
module = __import__(modname, fromlist="dummy")
612611
classes = inspect.getmembers(module, inspect.isclass)

0 commit comments

Comments
 (0)
0