TST Remove deprecation warnings pytest in test_pipeline.py (#23037)
TST Remove deprecation warnings pytest in test_pipeline.py (#23037)

Co-authored-by: Marie <36f2df317cbaafb646b910475e37ccd107dafbc5@cybelangel.com>
lesteve/scikit-learn,lesteve/scikit-learn,anntzer/scikit-learn,saiwing-yeung/scikit-learn,anntzer/scikit-learn,AlexandreAbraham/scikit-learn,ivannz/scikit-learn,espg/scikit-learn,scikit-learn/scikit-learn,jakirkham/scikit-learn,AlexandreAbraham/scikit-learn,manhhomienbienthuy/scikit-learn,ivannz/scikit-learn,betatim/scikit-learn,AlexandreAbraham/scikit-learn,vinayak-mehta/scikit-learn,saiwing-yeung/scikit-learn,espg/scikit-learn,jakirkham/scikit-learn,vinayak-mehta/scikit-learn,vinayak-mehta/scikit-learn,saiwing-yeung/scikit-learn,TomDLT/scikit-learn,lesteve/scikit-learn,manhhomienbienthuy/scikit-learn,TomDLT/scikit-learn,AlexandreAbraham/scikit-learn,scikit-learn/scikit-learn,jakirkham/scikit-learn,manhhomienbienthuy/scikit-learn,betatim/scikit-learn,lesteve/scikit-learn,vinayak-mehta/scikit-learn,TomDLT/scikit-learn,anntzer/scikit-learn,ivannz/scikit-learn,saiwing-yeung/scikit-learn,TomDLT/scikit-learn,scikit-learn/scikit-learn,jakirkham/scikit-learn,espg/scikit-learn,betatim/scikit-learn,espg/scikit-learn,ivannz/scikit-learn,betatim/scikit-learn,manhhomienbienthuy/scikit-learn,anntzer/scikit-learn,scikit-learn/scikit-learn