Fix ResourceWarning in test_image
Fix ResourceWarning in test_image

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