From 8a3e83448497eed4c9da3aca20128210dd71a4d7 Mon Sep 17 00:00:00 2001 From: ilan-gold Date: Wed, 11 Dec 2024 12:05:58 +0100 Subject: [PATCH] (fix): `nbytes` test? --- xarray/tests/test_formatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/tests/test_formatting.py b/xarray/tests/test_formatting.py index 946d491bd61..5f8e9af2c20 100644 --- a/xarray/tests/test_formatting.py +++ b/xarray/tests/test_formatting.py @@ -1022,7 +1022,7 @@ def test_display_nbytes() -> None: actual = repr(xds["foo"]) expected = """ Size: 2kB -array([ 0, 1, 2, ..., 1197, 1198, 1199], dtype=int16) +array([ 0, 1, 2, ..., 1197, 1198, 1199], shape=(1200,), dtype=int16) Coordinates: * foo (foo) int16 2kB 0 1 2 3 4 5 6 ... 1194 1195 1196 1197 1198 1199 """.strip()