Skip to content

Commit 84b01d3

Browse files
committed
Type import fix
1 parent 097b682 commit 84b01d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_pipeline/components/regression/test_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Type
2+
13
import unittest
24

35
import pytest
@@ -340,7 +342,7 @@ def test_fit_and_predict_with_1d_targets_as_1d(
340342
@pytest.mark.parametrize("X", [np.array([[1, 2, 3]] * 20)])
341343
@pytest.mark.parametrize("y", [np.array([[1]] * 20)])
342344
def test_fit_and_predict_with_1d_targets_as_2d(
343-
regressor: Type[ RegressorChoice ],
345+
regressor: Type[RegressorChoice],
344346
X: np.ndarray,
345347
y: np.ndarray
346348
):

0 commit comments

Comments
 (0)