Skip to content

Commit 51da03a

Browse files
committed
Merge pull request scikit-learn#1695 from mrjbq7/issue-1694
COSMIT: fix excessive indentation.
2 parents db6494c + e109175 commit 51da03a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/cross_validation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,10 +1129,10 @@ def cross_val_score(estimator, X, y=None, scoring=None, cv=None, n_jobs=1,
11291129
else:
11301130
scorer = scoring
11311131
if scorer is None and not hasattr(estimator, 'score'):
1132-
raise TypeError(
1133-
"If no scoring is specified, the estimator passed "
1134-
"should have a 'score' method. The estimator %s "
1135-
"does not." % estimator)
1132+
raise TypeError(
1133+
"If no scoring is specified, the estimator passed "
1134+
"should have a 'score' method. The estimator %s "
1135+
"does not." % estimator)
11361136
# We clone the estimator to make sure that all the folds are
11371137
# independent, and that it is pickle-able.
11381138
fit_params = fit_params if fit_params is not None else {}

0 commit comments

Comments
 (0)