diff --git a/tests/test_eccodes.py b/tests/test_eccodes.py index 82693d8..aee0f1c 100644 --- a/tests/test_eccodes.py +++ b/tests/test_eccodes.py @@ -576,7 +576,7 @@ def test_grib_ecc_1007(): def test_grib_set_bitmap(): gid = eccodes.codes_grib_new_from_samples("GRIB2") - missing = np.Infinity + missing = np.inf eccodes.codes_set(gid, "bitmapPresent", 1) eccodes.codes_set(gid, "missingValue", missing) # Grid with 100 points 2 of which are missing