Skip to content

Commit baa18ee

Browse files
committed
FIX need to explicitly raise SkipTest
1 parent 1d3bf73 commit baa18ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sklearn/linear_model/tests/test_logistic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from sklearn.utils.testing import ignore_warnings
1919
from sklearn.utils.testing import assert_warns_message
2020
from sklearn.utils.testing import raises
21+
from sklearn.utils.testing import SkipTest
2122

2223
from sklearn.exceptions import ConvergenceWarning
2324
from sklearn.linear_model.logistic import (
@@ -1144,11 +1145,11 @@ def test_saga_vs_liblinear():
11441145
assert_array_almost_equal(saga.coef_, liblinear.coef_, 3)
11451146

11461147

1147-
def xxx_test_dtype_match():
1148+
def test_dtype_match():
11481149
# Disabled to unblock the 0.19.2 release. See:
11491150
# https://github.com/scikit-learn/scikit-learn/issues/11438
11501151
# Test that np.float32 input data is not cast to np.float64 when possible
1151-
1152+
raise SkipTest()
11521153
X_32 = np.array(X).astype(np.float32)
11531154
y_32 = np.array(Y1).astype(np.float32)
11541155
X_64 = np.array(X).astype(np.float64)

0 commit comments

Comments
 (0)