def test_write_bytesio(self):

        self._test_write_string_bytes_io(io.BytesIO())
Regression test for https://github.com/astropy/astropy/issues/2463
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestFileFunctions.test_write_bytesio