use typeerror instead of valueerror
use typeerror instead of valueerror

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