Skip to content

Commit

Permalink
test(core): check that Pipeline.set_params works
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed Sep 16, 2024
1 parent 6a1ec0a commit 1f5934e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ def test_can_use_in_sklearn_pipeline():

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

# fit and predict work
p.fit(X, y)
Expand Down

0 comments on commit 1f5934e

Please sign in to comment.