Skip to content

Commit

Permalink
xfail for cross engine read write netcdf4
Browse files Browse the repository at this point in the history
  • Loading branch information
shoyer committed Apr 3, 2017
1 parent 278a566 commit 673e6dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xarray/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,13 +1025,11 @@ def test_complex(self):
with self.roundtrip(expected) as actual:
self.assertDatasetEqual(expected, actual)

@pytest.mark.xfail(reason='https://github.com/pydata/xarray/issues/535')
def test_cross_engine_read_write_netcdf4(self):
# Drop dim3, because its labels include strings. These appear to be
# not properly read with python-netCDF4, which converts them into
# unicode instead of leaving them as bytes.
if PY3:
raise unittest.SkipTest('see https://github.com/pydata/xarray/issues/535')

data = create_test_data().drop('dim3')
data.attrs['foo'] = 'bar'
valid_engines = ['netcdf4', 'h5netcdf']
Expand Down

0 comments on commit 673e6dc

Please sign in to comment.