'Read from an open gzip file object.'

def test_read_open_gzip_file(self):

    gf = gzip.GzipFile(self._make_gzip_file())
    try:
        assert (len(fits.open(gf)) == 5)
    finally:
        gf.close()
