Skip to content

Commit f433be8

Browse files
committed
lint
1 parent 6696f28 commit f433be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/sparse/test_array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_from_spmatrix(self, format):
179179

180180
mat = scipy.sparse.random(10, 1, density=0.5, format=format)
181181
result = SparseArray.from_spmatrix(mat)
182-
np.testing.assert_array_equal(mat.data, result.sp_values)
182+
tm.assert_numpy_array_equal(mat.data, result.sp_values)
183183

184184
def test_from_spmatrix_raises(self):
185185
pytest.importorskip('scipy')

0 commit comments

Comments
 (0)