From 46545fa0ceb0c7b3d98caa50ebb21894d97e9d84 Mon Sep 17 00:00:00 2001 From: ritchie Date: Sat, 25 May 2024 09:48:21 +0200 Subject: [PATCH] set type --- py-polars/tests/unit/datatypes/test_array.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py-polars/tests/unit/datatypes/test_array.py b/py-polars/tests/unit/datatypes/test_array.py index 36454a5cdc43..4aa1bac58455 100644 --- a/py-polars/tests/unit/datatypes/test_array.py +++ b/py-polars/tests/unit/datatypes/test_array.py @@ -299,8 +299,7 @@ def test_recursive_array_dtype() -> None: def test_ndarray_construction() -> None: - a = np.arange(16).reshape((2, 4, -1)) + a = np.arange(16, dtype=np.int64).reshape((2, 4, -1)) s = pl.Series(a) - print(s.dtype) assert s.dtype == pl.Array(pl.Int64, (4, 2)) assert (s.to_numpy() == a).all()