Skip to content

Commit 1f5934e

Browse files
committed
test(core): check that Pipeline.set_params works
1 parent 6a1ec0a commit 1f5934e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ def test_can_use_in_sklearn_pipeline():
209209

210210
# get/set params works
211211
params = p.get_params()
212-
p.set_params(**params)
212+
p.set_params(**params | {"recipe__scalestandard__inputs": ml.numeric()})
213+
assert p["recipe"].steps[1].inputs == ml.numeric()
213214

214215
# fit and predict work
215216
p.fit(X, y)

0 commit comments

Comments
 (0)