TST: Add test for rotation plane validation
TST: Add test for rotation plane validation

The test_rotate09 is added to assert that a ValueError is raised if any of the
rotation plane axes is equal to input array ndim.

See #10011

ilayn/scipy,person142/scipy,andyfaff/scipy,scipy/scipy,andyfaff/scipy,pizzathief/scipy,lhilt/scipy,zerothi/scipy,endolith/scipy,aeklant/scipy,perimosocordiae/scipy,jamestwebber/scipy,aarchiba/scipy,Eric89GXL/scipy,scipy/scipy,endolith/scipy,Stefan-Endres/scipy,vigna/scipy,e-q/scipy,nmayorov/scipy,scipy/scipy,Eric89GXL/scipy,perimosocordiae/scipy,vigna/scipy,pizzathief/scipy,mdhaber/scipy,jor-/scipy,person142/scipy,pizzathief/scipy,zerothi/scipy,aeklant/scipy,jamestwebber/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,nmayorov/scipy,ilayn/scipy,rgommers/scipy,pizzathief/scipy,vigna/scipy,mdhaber/scipy,ilayn/scipy,Eric89GXL/scipy,anntzer/scipy,anntzer/scipy,arokem/scipy,e-q/scipy,matthew-brett/scipy,e-q/scipy,rgommers/scipy,scipy/scipy,Stefan-Endres/scipy,pizzathief/scipy,perimosocordiae/scipy,gertingold/scipy,jor-/scipy,gertingold/scipy,grlee77/scipy,andyfaff/scipy,lhilt/scipy,endolith/scipy,aarchiba/scipy,person142/scipy,WarrenWeckesser/scipy,anntzer/scipy,mdhaber/scipy,zerothi/scipy,WarrenWeckesser/scipy,Eric89GXL/scipy,rgommers/scipy,vigna/scipy,tylerjereddy/scipy,grlee77/scipy,scipy/scipy,zerothi/scipy,endolith/scipy,jor-/scipy,rgommers/scipy,mdhaber/scipy,aeklant/scipy,person142/scipy,aarchiba/scipy,nmayorov/scipy,Stefan-Endres/scipy,vigna/scipy,jamestwebber/scipy,aarchiba/scipy,ilayn/scipy,Stefan-Endres/scipy,lhilt/scipy,endolith/scipy,grlee77/scipy,matthew-brett/scipy,aarchiba/scipy,jor-/scipy,perimosocordiae/scipy,lhilt/scipy,arokem/scipy,jamestwebber/scipy,arokem/scipy,scipy/scipy,mdhaber/scipy,matthew-brett/scipy,Stefan-Endres/scipy,person142/scipy,tylerjereddy/scipy,endolith/scipy,andyfaff/scipy,perimosocordiae/scipy,rgommers/scipy,gertingold/scipy,aeklant/scipy,andyfaff/scipy,zerothi/scipy,e-q/scipy,anntzer/scipy,Stefan-Endres/scipy,Eric89GXL/scipy,gertingold/scipy,andyfaff/scipy,lhilt/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,matthew-brett/scipy,nmayorov/scipy,ilayn/scipy,e-q/scipy,anntzer/scipy,zerothi/scipy,matthew-brett/scipy,Eric89GXL/scipy,jamestwebber/scipy,tylerjereddy/scipy,perimosocordiae/scipy,anntzer/scipy,mdhaber/scipy,grlee77/scipy,arokem/scipy,jor-/scipy,WarrenWeckesser/scipy,ilayn/scipy,aeklant/scipy,gertingold/scipy,WarrenWeckesser/scipy,grlee77/scipy,nmayorov/scipy,arokem/scipy