Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Oct 1, 2019
1 parent db39a07 commit c33ca34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/tests/test_combine.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def test_auto_combine(self):
auto_combine(objs)

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

def test_auto_combine_previously_failed(self):
Expand Down

0 comments on commit c33ca34

Please sign in to comment.