Skip to content

Commit

Permalink
(fix): nbytes test?
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Dec 11, 2024
1 parent f9fde3a commit 8a3e834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ def test_display_nbytes() -> None:
actual = repr(xds["foo"])
expected = """
<xarray.DataArray 'foo' (foo: 1200)> 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()
Expand Down

0 comments on commit 8a3e834

Please sign in to comment.