diff --git a/xarray/tests/test_combine.py b/xarray/tests/test_combine.py index f4bb5e83f98..b00329514be 100644 --- a/xarray/tests/test_combine.py +++ b/xarray/tests/test_combine.py @@ -5,6 +5,7 @@ import numpy as np import pandas as pd +import pytest from xarray import Dataset, DataArray, auto_combine, concat, Variable from xarray.core.pycompat import iteritems, OrderedDict @@ -268,6 +269,7 @@ def test_concat(self): with self.assertRaisesRegexp(ValueError, 'not a valid argument'): concat([foo, bar], dim='w', data_vars='minimal') + @pytest.mark.xfail(reason='https://github.com/pydata/xarray/issues/1586') def test_concat_encoding(self): # Regression test for GH1297 ds = Dataset({'foo': (['x', 'y'], np.random.random((2, 3))),