TST replaces assert_raise* by pytest.raises in model_selection (#19592)
TST replaces assert_raise* by pytest.raises in model_selection (#19592)

Co-authored-by: Cycks <ba58a8d1d8a671f664f6f3e3f89185df9fe0509a@gmail.com>
shyamalschandra/scikit-learn,AlexandreAbraham/scikit-learn,AlexandreAbraham/scikit-learn,glemaitre/scikit-learn,ivannz/scikit-learn,lesteve/scikit-learn,AlexandreAbraham/scikit-learn,TomDLT/scikit-learn,kevin-intel/scikit-learn,jakirkham/scikit-learn,sergeyf/scikit-learn,TomDLT/scikit-learn,shyamalschandra/scikit-learn,huzq/scikit-learn,kevin-intel/scikit-learn,lesteve/scikit-learn,lesteve/scikit-learn,espg/scikit-learn,kevin-intel/scikit-learn,vinayak-mehta/scikit-learn,manhhomienbienthuy/scikit-learn,anntzer/scikit-learn,espg/scikit-learn,huzq/scikit-learn,AlexandreAbraham/scikit-learn,jakirkham/scikit-learn,kevin-intel/scikit-learn,manhhomienbienthuy/scikit-learn,anntzer/scikit-learn,amueller/scikit-learn,vinayak-mehta/scikit-learn,espg/scikit-learn,manhhomienbienthuy/scikit-learn,scikit-learn/scikit-learn,sergeyf/scikit-learn,betatim/scikit-learn,ivannz/scikit-learn,saiwing-yeung/scikit-learn,vinayak-mehta/scikit-learn,amueller/scikit-learn,saiwing-yeung/scikit-learn,amueller/scikit-learn,shyamalschandra/scikit-learn,betatim/scikit-learn,shyamalschandra/scikit-learn,jakirkham/scikit-learn,ivannz/scikit-learn,manhhomienbienthuy/scikit-learn,huzq/scikit-learn,anntzer/scikit-learn,TomDLT/scikit-learn,glemaitre/scikit-learn,glemaitre/scikit-learn,ivannz/scikit-learn,scikit-learn/scikit-learn,saiwing-yeung/scikit-learn,glemaitre/scikit-learn,betatim/scikit-learn,sergeyf/scikit-learn,sergeyf/scikit-learn,jakirkham/scikit-learn,lesteve/scikit-learn,vinayak-mehta/scikit-learn,anntzer/scikit-learn,TomDLT/scikit-learn,espg/scikit-learn,saiwing-yeung/scikit-learn,amueller/scikit-learn,scikit-learn/scikit-learn,betatim/scikit-learn,huzq/scikit-learn,scikit-learn/scikit-learn