Skip to content

Commit

Permalink
Merge pull request scikit-learn#5740 from perimosocordiae/patch-2
Browse files Browse the repository at this point in the history
[MRG+2] BUG: use pre-parsed scipy version
  • Loading branch information
amueller committed Nov 5, 2015
2 parents 95d91c9 + 219fe10 commit 6c3b68d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sklearn/linear_model/tests/test_logistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from sklearn.utils.testing import assert_raise_message
from sklearn.exceptions import ConvergenceWarning
from sklearn.utils import compute_class_weight
from sklearn.utils.fixes import sp_version

from sklearn.linear_model.logistic import (
LogisticRegression,
Expand All @@ -34,8 +35,6 @@
Y2 = [2, 1, 0]
iris = load_iris()

sp_version = tuple([int(s) for s in scipy.__version__.split('.')])


def check_predictions(clf, X, y):
"""Check that the model is able to fit the classification data"""
Expand Down

0 comments on commit 6c3b68d

Please sign in to comment.