Skip to content

Commit

Permalink
TESTS: skip tests that involve writing of xarrays
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Oct 15, 2020
1 parent e74622e commit ba3ab30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -2,6 +2,11 @@
Changelog for Metview's Python interface
========================================

1.5.1
------------------
- temporarily removed tests that involve writing xarrays as GRIB


1.5.0
------------------
- added support for int numpy arrays as input to functions and methods
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -25,7 +25,7 @@ def read(fname):
return io.open(file_path, encoding="utf-8").read()


version = "1.6.0"
version = "1.5.1"


setuptools.setup(
Expand Down
2 changes: 2 additions & 0 deletions tests/test_metview.py
Expand Up @@ -1263,6 +1263,7 @@ def test_netcdf_to_dataset():
assert isinstance(x["t"], xr.DataArray)


@pytest.mark.skip()
@pytest.mark.filterwarnings("ignore:GRIB write")
def test_dataset_to_fieldset():
grib = mv.read(file_in_testdir("t_for_xs.grib"))
Expand All @@ -1278,6 +1279,7 @@ def test_bad_type_to_fieldset():
f = mv.dataset_to_fieldset(gpt)


@pytest.mark.skip()
@pytest.mark.filterwarnings("ignore:GRIB write")
def test_pass_dataset_as_arg():
grib = mv.read(file_in_testdir("t_for_xs.grib"))
Expand Down

0 comments on commit ba3ab30

Please sign in to comment.