Skip to content

Commit bc278b6

Browse files
committed
Testing: was removed in the NumPy 2.0 release. Use instead
1 parent 049e562 commit bc278b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_eccodes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def test_grib_ecc_1007():
576576

577577
def test_grib_set_bitmap():
578578
gid = eccodes.codes_grib_new_from_samples("GRIB2")
579-
missing = np.Infinity
579+
missing = np.inf
580580
eccodes.codes_set(gid, "bitmapPresent", 1)
581581
eccodes.codes_set(gid, "missingValue", missing)
582582
# Grid with 100 points 2 of which are missing

0 commit comments

Comments
 (0)