Add special case in code to retrieve module, as when the exception is raised from the main calling code, outside Astropy, tb_next raises an exception.
Add special case in code to retrieve module, as when the exception is raised from the main calling code, outside Astropy, tb_next raises an exception.

DougBurke/astropy,astropy/astropy,pllim/astropy,mhvk/astropy,lpsinger/astropy,pllim/astropy,kelle/astropy,mhvk/astropy,kelle/astropy,saimn/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,funbaker/astropy,AustereCuriosity/astropy,AustereCuriosity/astropy,AustereCuriosity/astropy,lpsinger/astropy,larrybradley/astropy,MSeifert04/astropy,larrybradley/astropy,funbaker/astropy,astropy/astropy,pllim/astropy,joergdietrich/astropy,mhvk/astropy,saimn/astropy,astropy/astropy,tbabej/astropy,DougBurke/astropy,stargaser/astropy,bsipocz/astropy,tbabej/astropy,joergdietrich/astropy,tbabej/astropy,larrybradley/astropy,lpsinger/astropy,kelle/astropy,StuartLittlefair/astropy,bsipocz/astropy,stargaser/astropy,larrybradley/astropy,dhomeier/astropy,astropy/astropy,saimn/astropy,stargaser/astropy,bsipocz/astropy,bsipocz/astropy,DougBurke/astropy,dhomeier/astropy,AustereCuriosity/astropy,aleksandr-bakanov/astropy,saimn/astropy,kelle/astropy,tbabej/astropy,larrybradley/astropy,MSeifert04/astropy,astropy/astropy,kelle/astropy,DougBurke/astropy,aleksandr-bakanov/astropy,dhomeier/astropy,MSeifert04/astropy,aleksandr-bakanov/astropy,pllim/astropy,dhomeier/astropy,StuartLittlefair/astropy,funbaker/astropy,stargaser/astropy,joergdietrich/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,MSeifert04/astropy,mhvk/astropy,saimn/astropy,pllim/astropy,tbabej/astropy,dhomeier/astropy,lpsinger/astropy,AustereCuriosity/astropy,funbaker/astropy,joergdietrich/astropy,mhvk/astropy,lpsinger/astropy,joergdietrich/astropy