8000 Update sklearn/utils/estimator_checks.py · rth/scikit-learn@dcc52f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcc52f0

Browse files
rthNicolasHug
andauthored
Update sklearn/utils/estimator_checks.py
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
1 parent a9ebc8f commit dcc52f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/estimator_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def check_estimator(Estimator, generate_only=False):
458458

459459
for estimator, check in checks_generator:
460460
check_name = _set_check_estimator_ids(check)
461-
if xfail_checks and check_name in xfail_checks:
461+
if check_name in xfail_checks:
462462
# skip tests marked as a known failure and raise a warning
463463
msg = xfail_checks[check_name]
464464
warnings.warn(f'Skipping {check_name}: {msg}', SkipTestWarning)

0 commit comments

Comments
 (0)
0