Skip to content

Commit 6e45c13

Browse files
lars-reimanngithub-actions[bot]
authored andcommitted
style: apply automated linter fixes
1 parent ccceb1c commit 6e45c13

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/safeds/ml/test_util_sklearn.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,13 @@ def test_predict_should_not_warn_about_feature_names() -> None:
1111
"""
1212

1313
training_set = SupervisedDataset(
14-
Table({
15-
"a": [1, 2, 3],
16-
"b": [2, 4, 6]
17-
}),
18-
target_column="b"
14+
Table({"a": [1, 2, 3], "b": [2, 4, 6]}), target_column="b"
1915
)
2016

2117
model = LinearRegression()
2218
model.fit(training_set)
2319

24-
test_set = Table({
25-
"a": [4, 5, 6]
26-
})
20+
test_set = Table({"a": [4, 5, 6]})
2721

2822
# No warning should be emitted
2923
with warnings.catch_warnings():

0 commit comments

Comments
 (0)