def test_getdata_vla(self):

        def test(format_code):
            col = fits.Column(name='QUAL_SPE', format=format_code,
                              array=[np.arange(1572)] * 225)
            tb_hdu = fits.BinTableHDU.from_columns([col])
            pri_hdu = fits.PrimaryHDU()
            hdu_list = fits.HDUList([pri_hdu, tb_hdu])
            with ignore_warnings():
                hdu_list.writeto(self.temp('toto.fits'), clobber=True)

            data = fits.getdata(self.temp('toto.fits'))

            # Need to compare to the original data row by row since the FITS_rec
            # returns an array of _VLA objects
            for row_a, row_b in zip(data['QUAL_SPE'], col.array):
                assert (row_a == row_b).all()

        for code in ('PJ()', 'QJ()'):
            test(code)
Connecting nodes invalidates the triggered nodes cache
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_table.py/TestVLATables.test_getdata_vla--crossover with--dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_core.py/TriggeredCacheTestCase.test_connect_clears_cache