Skip to content

Commit

Permalink
Specify dtype explictly as Windows seems to default on int32
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneschalk committed Feb 4, 2024
1 parent 8611840 commit 560a35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xarray/tests/test_formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,8 @@ def test_empty_cftimeindex_repr() -> None:
def test_display_nbytes() -> None:
xds = xr.Dataset(
{
"foo": np.arange(1200),
"bar": np.arange(111),
"foo": np.arange(1200, dtype=np.int64),
"bar": np.arange(111, dtype=np.int64),
}
)

Expand Down

0 comments on commit 560a35d

Please sign in to comment.