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 Jan 14, 2025
1 parent 96fd80e commit 93d8903
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/models/soil/test_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ def test_calculate_nutrient_uptake_rates(

for attr in dir(actual_consumption_rates):
if not attr.startswith("_"):
assert (
attr in expected_consumption_rates.keys()
), f"Attribute {attr} not tested"
assert attr in expected_consumption_rates.keys(), (
f"Attribute {attr} not tested"
)
assert np.allclose(
getattr(actual_consumption_rates, attr),
expected_consumption_rates[attr],
Expand Down

0 comments on commit 93d8903

Please # to comment.