Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed May 5, 2023
1 parent eb43f7c commit 7017360
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7017360

Please sign in to comment.