Skip to content

Commit

Permalink
pytest deprecation (#3051)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored and shoyer committed Jun 27, 2019
1 parent c729121 commit a52110c
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 @@ -344,7 +344,7 @@ def test_empty_input(self):
@pytest.mark.xfail
def test_manual_concat_too_many_dims_at_once(self):
objs = [Dataset({'x': [0], 'y': [1]}), Dataset({'y': [0], 'x': [1]})]
with pytest.raises(ValueError, "not equal across datasets"):
with pytest.raises(ValueError, match="not equal across datasets"):
combine_nested(objs, concat_dim='x', coords='minimal')

def test_manual_concat_along_new_dim(self):
Expand Down

0 comments on commit a52110c

Please sign in to comment.