From f433be85712e7e0753beaa99c074d56a16552359 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Wed, 13 Mar 2019 20:54:07 -0500 Subject: [PATCH] lint --- pandas/tests/arrays/sparse/test_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/arrays/sparse/test_array.py b/pandas/tests/arrays/sparse/test_array.py index 0a08dcfe07746..1050ef8146037 100644 --- a/pandas/tests/arrays/sparse/test_array.py +++ b/pandas/tests/arrays/sparse/test_array.py @@ -179,7 +179,7 @@ def test_from_spmatrix(self, format): mat = scipy.sparse.random(10, 1, density=0.5, format=format) result = SparseArray.from_spmatrix(mat) - np.testing.assert_array_equal(mat.data, result.sp_values) + tm.assert_numpy_array_equal(mat.data, result.sp_values) def test_from_spmatrix_raises(self): pytest.importorskip('scipy')