Skip to content
Snippets Groups Projects
Commit a2f7fa5f authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Cover ValueError.


Signed-off-by: default avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent adc1d6bf
1 merge request!105Maintenance/replace lecacy interp1d
......@@ -140,7 +140,8 @@ class Test_interp_nodata_along_axis_2d(TestCase):
interp_nodata_along_axis_2d(self.get_data2d(), axis=3)
with pytest.raises(ValueError):
interp_nodata_along_axis_2d(np.dstack([self.get_data2d(), self.get_data2d()]))
with pytest.raises(ValueError):
interp_nodata_along_axis_2d(self.get_data2d(), method='unsupported_method')
class Test_interp_nodata_along_axis(TestCase):
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment