From 411455ec8ece6a8da09e554ec9a96142bb53a892 Mon Sep 17 00:00:00 2001 From: Roman Yurchak Date: Wed, 11 Sep 2019 13:22:54 +0200 Subject: [PATCH] MAINT Revert changes in test_multiclass.py --- sklearn/utils/tests/test_multiclass.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sklearn/utils/tests/test_multiclass.py b/sklearn/utils/tests/test_multiclass.py index 3a5928820fd6f..d4c4a7ceef5fd 100644 --- a/sklearn/utils/tests/test_multiclass.py +++ b/sklearn/utils/tests/test_multiclass.py @@ -81,11 +81,6 @@ def __array__(self, dtype=None): np.array([[1, 0, 2, 2], [1, 4, 2, 4]], dtype=np.uint8), np.array([[1, 0, 2, 2], [1, 4, 2, 4]], dtype=np.float), np.array([[1, 0, 2, 2], [1, 4, 2, 4]], dtype=np.float32), - csr_matrix(np.array([[1, 0, 2, 2], [1, 4, 2, 4]])), - csr_matrix(np.array([[1, 0, 2, 2], [1, 4, 2, 4]]), dtype=np.int8), - csr_matrix(np.array([[1, 0, 2, 2], [1, 4, 2, 4]]), dtype=np.uint8), - csr_matrix(np.array([[1, 0, 2, 2], [1, 4, 2, 4]]), dtype=np.float), - csr_matrix(np.array([[1, 0, 2, 2], [1, 4, 2, 4]]), dtype=np.float32), np.array([['a', 'b'], ['c', 'd']]), np.array([['a', 'b'], ['c', 'd']]), np.array([['a', 'b'], ['c', 'd']], dtype=object), @@ -124,9 +119,6 @@ def __array__(self, dtype=None): np.array([[0, .5], [.5, 0]]), np.array([[0, .5], [.5, 0]], dtype=np.float32), np.array([[0, .5]]), - csr_matrix(np.array([[0, .5], [.5, 0]])), - csr_matrix(np.array([[0, .5], [.5, 0]]), dtype=np.float32), - csr_matrix(np.array([[0, .5]])), ], 'unknown': [ [[]],