From 2a6cfdc5aacacc9e0d01f322159a973fc0be75b0 Mon Sep 17 00:00:00 2001 From: Thomas J Fan Date: Fri, 17 Apr 2020 17:27:29 -0400 Subject: [PATCH] FIX Bug --- sklearn/utils/estimator_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/utils/estimator_checks.py b/sklearn/utils/estimator_checks.py index e2a51e94653b7..1623902b202f3 100644 --- a/sklearn/utils/estimator_checks.py +++ b/sklearn/utils/estimator_checks.py @@ -365,7 +365,7 @@ def _mark_xfail_checks(estimator, check, pytest): # try to construct estimator instance, if it is unable to then # return the estimator class, ignoring the tag try: - estimator = _construct_instance(estimator), + estimator = _construct_instance(estimator) except Exception: return estimator, check