From fcefe060bd26ac4eeccd4c9795ac48857a381c7f Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 28 May 2024 21:42:03 +0200 Subject: [PATCH] fix for numpy 2.0 --- tests/test_qartod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_qartod.py b/tests/test_qartod.py index d3f25b9..858d6e4 100644 --- a/tests/test_qartod.py +++ b/tests/test_qartod.py @@ -33,7 +33,7 @@ def test_location(self): Ensure that longitudes and latitudes are within reasonable bounds. """ lon = [ 80.0, -78.5, 500.500] - lat = [np.NaN, 50.0, -60.0] + lat = [np.nan, 50.0, -60.0] npt.assert_array_equal( qartod.location_test(lon=lon, lat=lat),