Skip to content

Commit

Permalink
Testing: was removed in the NumPy 2.0 release. Use instead
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Mar 15, 2024
1 parent 049e562 commit bc278b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_eccodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc278b6

Please sign in to comment.