'Test use of the BZERO keyword in an image HDU containing float
data.'

def test_bzero_with_floats(self):

    arr = (np.zeros((10, 10)) - 1)
    hdu = fits.ImageHDU(data=arr)
    hdu.header['BZERO'] = 1.0
    hdu.writeto(self.temp('test_new.fits'))
    hdul = fits.open(self.temp('test_new.fits'))
    arr += 1
    assert (hdul[1].data == arr).all()
