Skip to content

Commit

Permalink
Update tests/continuous/test_standard.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Loveday <[email protected]>
Signed-off-by: Tennessee Leeuwenburg <[email protected]>
  • Loading branch information
tennlee and nicholasloveday authored Sep 19, 2024
1 parent 52df85c commit 234a671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/continuous/test_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,5 +931,5 @@ def test_kge_dask():
result = scores.continuous.kge(fcst, obs)
assert isinstance(result.data, dask.array.Array) # type: ignore
result = result.compute() # type: ignore
assert isinstance(result.data, np.ndarray)
assert isinstance(result.data, (np.ndarray, np.generic))
xr.testing.assert_equal(result, EXP_KGE_REDUCE_ALL)

0 comments on commit 234a671

Please sign in to comment.