switch to deprecation warning as pointed out by @pllim
switch to deprecation warning as pointed out by @pllim

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