def test_random_groups_data_update(self):

        self.copy_file('random_groups.fits')
        with fits.open(self.temp('random_groups.fits'), mode='update') as h:
            h[0].data['UU'] = 0.42

        with fits.open(self.temp('random_groups.fits'), mode='update') as h:
            assert np.all(h[0].data['UU'] == 0.42)
Tests whether question content is bleached.
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_groups.py/TestGroupsFunctions.test_random_groups_data_update--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/questions/tests/test_api.py/TestQuestionViewSet.test_bleaching