Slightly rewrite this test to not run afoul of the bug on Windows that an HDUList can't overwrite the file it was read from while that file is still open for reading.
Slightly rewrite this test to not run afoul of the bug on Windows that an HDUList can't overwrite the file it was read from while that file is still open for reading.

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