8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69fea4 commit 10f336aCopy full SHA for 10f336a
sklearn/utils/tests/test_validation.py
@@ -55,6 +55,8 @@
55
from sklearn.utils._testing import TempMemmap
56
57
58
+@pytest.mark.filterwarnings(
59
+ "ignore:the matrix subclass:PendingDeprecationWarning")
60
def test_as_float_array():
61
# Test function for as_float_array
62
X = np.ones((3, 10), dtype=np.int32)
@@ -111,6 +113,8 @@ def test_as_float_array_nan(X):
111
113
assert_allclose_dense_sparse(X_converted, X)
112
114
115
116
117
118
def test_np_matrix():
119
# Confirm that input validation code does not return np.matrix
120
X = np.arange(12).reshape(3, 4)
0 commit comments