File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
lib/iris/tests/unit/fileformats/netcdf Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1068,21 +1068,13 @@ def setUp(self):
10681068 self .exp_emsg = "Cell measures with missing data are not supported."
10691069
10701070 def test_masked_data__insitu (self ):
1071- # Test that the error is raised in the right place .
1071+ # Test that the error is not being raised .
10721072 with self .temp_filename (".nc" ) as nc_path :
10731073 saver = Saver (nc_path , "NETCDF4" )
1074- with self .assertRaisesRegex (ValueError , self .exp_emsg ):
1075- saver ._create_generic_cf_array_var (
1076- self .cube , self .names_map , self .cm
1074+ saver ._create_generic_cf_array_var (
1075+ self .cube , self .names_map , self .cm
10771076 )
10781077
1079- def test_masked_data__save_pipeline (self ):
1080- # Test that the right error is raised by the saver pipeline.
1081- with self .temp_filename (".nc" ) as nc_path :
1082- with Saver (nc_path , "NETCDF4" ) as saver :
1083- with self .assertRaisesRegex (ValueError , self .exp_emsg ):
1084- saver .write (self .cube )
1085-
10861078
10871079if __name__ == "__main__" :
10881080 tests .main ()
You can’t perform that action at this time.
0 commit comments