diff --git a/xarray/tests/test_backends.py b/xarray/tests/test_backends.py index 0863974f449..4115edc0278 100644 --- a/xarray/tests/test_backends.py +++ b/xarray/tests/test_backends.py @@ -4490,6 +4490,7 @@ def test_open_multi_dataset(self) -> None: ) as actual: assert_identical(expected, actual) + @pytest.mark.xfail(reason="Flaky test. Very open to contributions on fixing this") def test_dask_roundtrip(self) -> None: with create_tmp_file() as tmp: data = create_test_data() diff --git a/xarray/tests/test_dataarray.py b/xarray/tests/test_dataarray.py index 468010ffff1..6cdae79ca3f 100644 --- a/xarray/tests/test_dataarray.py +++ b/xarray/tests/test_dataarray.py @@ -125,8 +125,8 @@ def test_repr_windows(self) -> None: array([[1, 2, 3], [4, 5, 6]]) Coordinates: - * x (x) int32 12B 0 1 2 - other int32 4B 0 + * x (x) int64 24B 0 1 2 + other int64 8B 0 Dimensions without coordinates: time Attributes: foo: bar""" @@ -159,9 +159,9 @@ def test_repr_multiindex_windows(self) -> None: Size: 16B array([0, 1, 2, 3]) Coordinates: - * x (x) object 16B MultiIndex - * level_1 (x) object 16B 'a' 'a' 'b' 'b' - * level_2 (x) int64 16B 1 2 1 2""" + * x (x) object 32B MultiIndex + * level_1 (x) object 32B 'a' 'a' 'b' 'b' + * level_2 (x) int64 32B 1 2 1 2""" ) assert expected == repr(self.mda) @@ -203,9 +203,9 @@ def test_repr_multiindex_long_windows(self) -> None: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]) Coordinates: - * x (x) object 128B MultiIndex - * level_1 (x) object 128B 'a' 'a' 'a' 'a' 'a' 'a' ... 'd' 'd' 'd' 'd' 'd' 'd' - * level_2 (x) int64 128B 1 2 3 4 5 6 7 8 1 2 3 4 ... 5 6 7 8 1 2 3 4 5 6 7 8""" + * x (x) object 256B MultiIndex + * level_1 (x) object 256B 'a' 'a' 'a' 'a' 'a' 'a' ... 'd' 'd' 'd' 'd' 'd' 'd' + * level_2 (x) int64 256B 1 2 3 4 5 6 7 8 1 2 3 4 ... 5 6 7 8 1 2 3 4 5 6 7 8""" ) assert expected == repr(mda_long)