MNT: Replace catch_warnings in erfa tests
MNT: Replace catch_warnings in erfa tests

pllim/astropy,lpsinger/astropy,StuartLittlefair/astropy,dhomeier/astropy,dhomeier/astropy,astropy/astropy,pllim/astropy,astropy/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,lpsinger/astropy,astropy/astropy,mhvk/astropy,pllim/astropy,saimn/astropy,StuartLittlefair/astropy,lpsinger/astropy,dhomeier/astropy,astropy/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,mhvk/astropy,astropy/astropy,dhomeier/astropy,mhvk/astropy,larrybradley/astropy,saimn/astropy,mhvk/astropy,mhvk/astropy,saimn/astropy,larrybradley/astropy,saimn/astropy,pllim/astropy,larrybradley/astropy,saimn/astropy,lpsinger/astropy,lpsinger/astropy,aleksandr-bakanov/astropy,pllim/astropy,dhomeier/astropy,larrybradley/astropy