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 Nov 28, 2024
1 parent ad4eb6c commit 1849dd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ def test_chill_units(self, tas_series):
out = xci.chill_units(tas, positive_only=True)
# Only the last day contains negative chill units.
assert out[0] == 0.5 * num_cu_05 + num_cu_1 - 0.5 * 3

def test_cool_night_index(self, open_dataset):
ds = open_dataset("cmip5/tas_Amon_CanESM2_rcp85_r1i1p1_200701-200712.nc")
ds = ds.rename(dict(tas="tasmin"))
Expand Down

0 comments on commit 1849dd9

Please sign in to comment.