Fix misbehaving locale test--on Python 2 it xfailed always; on Python 3 it failed to reset the locale
Fix misbehaving locale test--on Python 2 it xfailed always; on Python 3 it failed to reset the locale

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