TST,TYP: Fix a python 3.11 failure for the `GenericAlias` tests
TST,TYP: Fix a python 3.11 failure for the `GenericAlias` tests

mhvk/numpy,mhvk/numpy,mattip/numpy,endolith/numpy,endolith/numpy,rgommers/numpy,numpy/numpy,charris/numpy,mattip/numpy,rgommers/numpy,charris/numpy,rgommers/numpy,endolith/numpy,anntzer/numpy,anntzer/numpy,pdebuyl/numpy,mattip/numpy,mhvk/numpy,charris/numpy,endolith/numpy,numpy/numpy,pdebuyl/numpy,anntzer/numpy,pdebuyl/numpy,numpy/numpy,mhvk/numpy,mhvk/numpy,pdebuyl/numpy,anntzer/numpy,charris/numpy,mattip/numpy,rgommers/numpy,numpy/numpy