losed after being passed
        to convenience functions.

        Regression test for https://github.com/astropy/astropy/issues/5063
        z
test0.fits