Skip to content

Commit d51c34a

Browse files
committed
Fix: MLPRegressor tests (#1367)
* Fix: MLPRegressor tests * Fix: Ordering of statements in test * Fix: MLP n_calls
1 parent a58a24b commit d51c34a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/test_pipeline/components/regression/test_base.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Type
1+
from typing import Type, Container
22

33
import unittest
44

@@ -35,12 +35,6 @@ def test_default_boston(self):
3535

3636
for _ in range(2):
3737

38-
with ignore_warnings(regressor_warnings):
39-
predictions, targets, n_calls = _test_regressor(
40-
dataset="boston",
41-
Regressor=self.module
42-
)
43-
4438
with ignore_warnings(regressor_warnings):
4539
predictions, targets, n_calls = _test_regressor(
4640
dataset="boston",

0 commit comments

Comments
 (0)