Skip to content

Commit 4b5def7

Browse files
committed
[test-upstream] fix warning test
1 parent 5f510fb commit 4b5def7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_backends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,7 @@ def test_warning_on_bad_chunks(self) -> None:
24392439
with warnings.catch_warnings():
24402440
warnings.filterwarnings(
24412441
"ignore",
2442-
message=".*Zarr version 3 specification.*",
2442+
message=".*Zarr format 3 specification.*",
24432443
category=UserWarning,
24442444
)
24452445
with self.roundtrip(original, open_kwargs=kwargs) as actual:
@@ -2988,7 +2988,7 @@ def test_no_warning_from_open_emptydim_with_chunks(self) -> None:
29882988
with warnings.catch_warnings():
29892989
warnings.filterwarnings(
29902990
"ignore",
2991-
message=".*Zarr version 3 specification.*",
2991+
message=".*Zarr format 3 specification.*",
29922992
category=UserWarning,
29932993
)
29942994
with self.roundtrip(ds, open_kwargs=dict(chunks={"a": 1})) as ds_reload:

0 commit comments

Comments
 (0)