TST: Add test for too-deep non-object deprecation
TST: Add test for too-deep non-object deprecation

This is similar to the ragged deprecation, and proofs that
gh-15611 is fixed previously.

numpy/numpy,mhvk/numpy,rgommers/numpy,grlee77/numpy,anntzer/numpy,jakirkham/numpy,madphysicist/numpy,mhvk/numpy,charris/numpy,rgommers/numpy,simongibbons/numpy,seberg/numpy,charris/numpy,pdebuyl/numpy,grlee77/numpy,simongibbons/numpy,jakirkham/numpy,simongibbons/numpy,pbrod/numpy,madphysicist/numpy,madphysicist/numpy,jakirkham/numpy,mhvk/numpy,numpy/numpy,pbrod/numpy,simongibbons/numpy,charris/numpy,rgommers/numpy,numpy/numpy,grlee77/numpy,anntzer/numpy,mattip/numpy,mattip/numpy,seberg/numpy,madphysicist/numpy,anntzer/numpy,pbrod/numpy,jakirkham/numpy,endolith/numpy,pbrod/numpy,endolith/numpy,grlee77/numpy,mhvk/numpy,pbrod/numpy,endolith/numpy,seberg/numpy,mhvk/numpy,mattip/numpy,pdebuyl/numpy,simongibbons/numpy,madphysicist/numpy,pdebuyl/numpy,anntzer/numpy,pdebuyl/numpy,jakirkham/numpy,mattip/numpy,seberg/numpy,rgommers/numpy,numpy/numpy,grlee77/numpy,endolith/numpy,charris/numpy