Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a73fd1a

Browse filesBrowse files
committed
ENH: removed leftover condition to get a wider application of the import all consistency check
1 parent f1e9116 commit a73fd1a
Copy full SHA for a73fd1a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎sklearn/tests/test_common.py

Copy file name to clipboardExpand all lines: sklearn/tests/test_common.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ def test_import_all_consistency():
989989
# in the namespace of the module or package.
990990
for importer, modname, ispkg in pkgutil.walk_packages(
991991
path=sklearn.__path__, prefix='sklearn.', onerror=lambda x: None):
992-
if ".tests." in modname or not ispkg:
992+
if ".tests." in modname:
993993
continue
994994
package = __import__(modname, fromlist="dummy")
995995
for name in getattr(package, '__all__', ()):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.