From 9b430fef961b791118055731a0179e1563ea80bc Mon Sep 17 00:00:00 2001 From: mariosasko Date: Mon, 16 Dec 2024 21:53:12 +0100 Subject: [PATCH] Nit --- tests/test_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_matrix.py b/tests/test_matrix.py index 34bdfc4d0c..9416d2e3d0 100644 --- a/tests/test_matrix.py +++ b/tests/test_matrix.py @@ -62,7 +62,7 @@ def __init__(self, data): self.data = data def __array__(self, dtype=None, copy=None): - return self.data + return np.asarray(self.data, dtype=dtype, copy=copy) p = mat._HeatMapper(ArrayLike(self.x_norm), **self.default_kws) npt.assert_array_equal(p.plot_data, self.x_norm)