Skip to content

Commit cc95334

Browse files
awais307glatterf42
authored andcommitted
Apply missing black code formatting
was not done by ruff
1 parent df1818c commit cc95334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

message_ix_models/tests/model/water/test_water_supply.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_map_basin_region_wat():
4040
with patch(
4141
"message_ix_models.util.private_data_path", return_value="path/to/file"
4242
), patch("pandas.read_csv", return_value=df_sw):
43-
context['time'] = 'year'
43+
context["time"] = "year"
4444
result = map_basin_region_wat(context)
4545

4646
# Assert the results
@@ -98,7 +98,7 @@ def test_add_water_supply():
9898
"message_ix_models.util.private_data_path", return_value="path/to/file"
9999
), patch("pandas.read_csv", return_value=df_node), patch(
100100
"message_ix_models.model.water.water_supply.map_basin_region_wat",
101-
return_value=df_sw # Adjust this import
101+
return_value=df_sw, # Adjust this import
102102
):
103103
# Call the function to be tested
104104
result = add_water_supply(context)
@@ -137,7 +137,7 @@ def test_add_e_flow():
137137
# Mock the function 'read_water_availability' to return the mocked DataFrame
138138
with patch(
139139
"message_ix_models.model.water.demands.read_water_availability",
140-
return_value=(df_sw, df_sw)
140+
return_value=(df_sw, df_sw),
141141
), patch(
142142
"message_ix_models.util.private_data_path", return_value="path/to/file"
143143
), patch(

0 commit comments

Comments
 (0)