def test_writeto(self):

        data = np.zeros((100, 100))
        header = fits.Header()
        fits.writeto(self.temp('array.fits'), data, header=header,
                       clobber=True)
        hdul = fits.open(self.temp('array.fits'))
        assert len(hdul) == 1
        assert (data == hdul[0].data).all()
Return a L{Deferred} firing with a L{MyClientFactory} and
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestConvenienceFunctions.test_writeto--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_tcp.py/TCPTransportTestsBuilder.getConnectedClientAndServer