diff --git a/tests/safeds/ml/classical/classification/test_support_vector_machine.py b/tests/safeds/ml/classical/classification/test_support_vector_machine.py index e2be42908..606614735 100644 --- a/tests/safeds/ml/classical/classification/test_support_vector_machine.py +++ b/tests/safeds/ml/classical/classification/test_support_vector_machine.py @@ -21,6 +21,7 @@ def test_should_be_passed_to_sklearn(self, training_set: TaggedTable) -> None: def test_should_raise_if_less_than_or_equal_to_0(self) -> None: with pytest.raises( - ValueError, match="The strength of regularization given by the c parameter must be strictly positive.", + ValueError, + match="The strength of regularization given by the c parameter must be strictly positive.", ): SupportVectorMachine(c=-1) diff --git a/tests/safeds/ml/classical/regression/test_support_vector_machine.py b/tests/safeds/ml/classical/regression/test_support_vector_machine.py index a75eaa1d1..04166a951 100644 --- a/tests/safeds/ml/classical/regression/test_support_vector_machine.py +++ b/tests/safeds/ml/classical/regression/test_support_vector_machine.py @@ -21,6 +21,7 @@ def test_should_be_passed_to_sklearn(self, training_set: TaggedTable) -> None: def test_should_raise_if_less_than_or_equal_to_0(self) -> None: with pytest.raises( - ValueError, match="The strength of regularization given by the c parameter must be strictly positive.", + ValueError, + match="The strength of regularization given by the c parameter must be strictly positive.", ): SupportVectorMachine(c=-1)