From 701736006a421f8a518a4f3495793928146932b0 Mon Sep 17 00:00:00 2001 From: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com> Date: Fri, 5 May 2023 11:13:41 +0000 Subject: [PATCH] style: apply automated linter fixes --- .../ml/classical/classification/test_support_vector_machine.py | 3 ++- .../ml/classical/regression/test_support_vector_machine.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)