Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann authored and github-actions[bot] committed Mar 20, 2023
1 parent ccceb1c commit 6e45c13
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/safeds/ml/test_util_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,13 @@ def test_predict_should_not_warn_about_feature_names() -> None:
"""

training_set = SupervisedDataset(
Table({
"a": [1, 2, 3],
"b": [2, 4, 6]
}),
target_column="b"
Table({"a": [1, 2, 3], "b": [2, 4, 6]}), target_column="b"
)

model = LinearRegression()
model.fit(training_set)

test_set = Table({
"a": [4, 5, 6]
})
test_set = Table({"a": [4, 5, 6]})

# No warning should be emitted
with warnings.catch_warnings():
Expand Down

0 comments on commit 6e45c13

Please sign in to comment.