Skip to content

Commit 6125fc0

Browse files
committed
Minor change add missing single quotation mark
1 parent 13bfd6e commit 6125fc0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_wind_turbine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ def test_wrongly_defined_to_group_method(self):
7575
'path': self.source}
7676
e_t_1 = WindTurbine(**example_turbine)
7777
with pytest.raises(ValueError,
78-
match="The 'number' and the 'total_capacity"
79-
" parameter are mutually exclusive."):
78+
match="The 'number' and the 'total_capacity' "
79+
"parameter are mutually exclusive."):
8080
e_t_1.to_group(5, 3000)

windpowerlib/wind_turbine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def to_group(self, number_turbines=None, total_capacity=None):
250250
"""
251251

252252
if number_turbines is not None and total_capacity is not None:
253-
raise ValueError("The 'number' and the 'total_capacity parameter "
253+
raise ValueError("The 'number' and the 'total_capacity' parameter "
254254
"are mutually exclusive. Use just one of them.")
255255
elif total_capacity is not None:
256256
number_turbines = total_capacity / self.nominal_power

0 commit comments

Comments
 (0)