Skip to content

Commit

Permalink
Fix broken test.
Browse files Browse the repository at this point in the history
See discussion in otherwise unrelated PR fsspec#531.
  • Loading branch information
bamford committed Dec 4, 2024
1 parent f627fd4 commit 2081a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_grib.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def test_parse_grib_idx_invalid_url():


def test_parse_grib_idx_no_file():
with pytest.raises(FileNotFoundError):
with pytest.raises((FileNotFoundError, PermissionError)):
# the url is spelled wrong
parse_grib_idx(
"s3://noaahrrr-bdp-pds/hrrr.20220804/conus/hrrr.t01z.wrfsfcf01.grib2",
Expand Down

0 comments on commit 2081a90

Please sign in to comment.