try:
with fitsio.FITS(fname,'rw',clobber=True) as fits:
# note i8 not supported for compressed!
- dtypes = ['u1','i1','u2','i2','u4','i4','f4','f8']
+ dtypes = ['u1','i1', 'i2','u4','i4','f4','f8']
for dtype in dtypes:
data = numpy.arange(5*20,dtype=dtype).reshape(5,20)
try:
with fitsio.FITS(fname,'rw',clobber=True) as fits:
# note i8 not supported for compressed!
- dtypes = ['u1','i1','u2','i2','u4','i4','f4','f8']
+ dtypes = ['u1','i1', 'i2','u4','i4','f4','f8']
for dtype in dtypes:
data = numpy.arange(5*20,dtype=dtype).reshape(5,20)
if os.path.exists(fname):
os.remove(fname)
+ @unittest.skip("bzip2 is not supported with debian cfitsio package")
def testBz2Read(self):
'''
Write a normal .fits file, run bzip2 on it, then read the bz2