Skip to content

Commit c33ca34

Browse files
committed
fix test
1 parent db39a07 commit c33ca34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/tests/test_combine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def test_auto_combine(self):
756756
auto_combine(objs)
757757

758758
objs = [Dataset({"x": [0], "y": [0]}), Dataset({"x": [0]})]
759-
with raises_regex(ValueError, "'y' is not present in all datasets"):
759+
with raises_regex(KeyError, "'y'"):
760760
auto_combine(objs)
761761

762762
def test_auto_combine_previously_failed(self):

0 commit comments

Comments
 (0)