Skip to content

Commit

Permalink
Remove unit test that throws exception within omp block
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Mar 11, 2024
1 parent a4cd72c commit 57fbbab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_apply_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ def test_all_extrapolation_policies(self):

def test_invalid_extrapolation_policy(self):
policy = -1
curve_fcst = np.random.rand(3, 2, 4)
curve_ref = np.random.rand(3, 2, 4)
field = np.random.rand(3, 2)
curve_fcst = [0, 1, 2]
curve_ref = [3, 4, 5]
input = 3
with self.assertRaises(ValueError) as e:
gridpp.apply_curve(field, curve_ref, curve_fcst, policy, policy)
gridpp.apply_curve(input, curve_ref, curve_fcst, policy, policy)


if __name__ == '__main__':
Expand Down

0 comments on commit 57fbbab

Please sign in to comment.