def test_create_fitshdu_with_compression(self):

        self._test_create_fitshdu(compression=True)
Same as test_create_fitshdu but with gzip compression enabled.
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_nonstandard.py/TestNonstandardHdus.test_create_fitshdu_with_compression