Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 2, 2024
1 parent 369ff88 commit 28fb6c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gpm/tests/test_bucket/test_partitioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ def test_justified_label_xy(self):

def test_justified_labels_single_level(self):
"""Test labels justification of single-level 2D TilePartitioning."""
size = (10, 10) #
size = (10, 10)
extent = [-180, 180, -90, 90]
n_levels = 1
origin = "bottom"
Expand Down
12 changes: 6 additions & 6 deletions gpm/tests/test_io/test_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,18 @@ def test_get_sensor_satellite_names():
},
}

assert ["SSMIS"] == _get_sensor_satellite_names(info_dict, key="sensor", combine_with=None)
assert ["F18"] == _get_sensor_satellite_names(info_dict, key="satellite", combine_with=None)
assert ["SSMIS-F18"] == _get_sensor_satellite_names(
assert _get_sensor_satellite_names(info_dict, key="sensor", combine_with=None) == ["SSMIS"]
assert _get_sensor_satellite_names(info_dict, key="satellite", combine_with=None) == ["F18"]
assert _get_sensor_satellite_names(
info_dict,
key="satellite",
combine_with="sensor",
)
assert ["SSMIS-F18"] == _get_sensor_satellite_names(
) == ["SSMIS-F18"]
assert _get_sensor_satellite_names(
info_dict,
key="sensor",
combine_with="satellite",
)
) == ["SSMIS-F18"]


@pytest.mark.parametrize("full", [True, False])
Expand Down

0 comments on commit 28fb6c9

Please sign in to comment.