Skip to content

Commit 3ff0269

Browse files
wjbenfoldbjlittle
andauthored
Skip TestConstrainedLoad if data missing (#4319)
* Skip TestConstrainedLoad if data missing * Updated whats new * Format class name for readability Co-authored-by: Bill Little <bill.little@metoffice.gov.uk> Co-authored-by: Bill Little <bill.little@metoffice.gov.uk>
1 parent 62d9262 commit 3ff0269

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/src/whatsnew/latest.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ This document explains the changes made to Iris for this release
104104
http://www.nationalarchives.gov.uk/doc/open-government-licence since this
105105
always works locally, but never within CI. (:pull:`4307`)
106106

107+
#. `@wjbenfold`_ netCDF integration tests now skip ``TestConstrainedLoad`` if
108+
test data is missing (:pull:`4319`)
109+
107110

108111
#. `@wjbenfold`_ excluded "Good First Issue" labelled issues from being
109112
marked stale. (:pull:`4317`)

lib/iris/tests/integration/test_netcdf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ def test_geostationary_no_false_offsets(self):
707707
self.assertEqual(cs.false_northing, 0.0)
708708

709709

710+
@tests.skip_data
710711
class TestConstrainedLoad(tests.IrisTest):
711712
filename = tests.get_data_path(
712713
("NetCDF", "label_and_climate", "A1B-99999a-river-sep-2070-2099.nc")

0 commit comments

Comments
 (0)