Mark failures that are known to fail with the original cfitsio
authorOle Streicher <olebole@debian.org>
Fri, 15 Jul 2016 06:46:15 +0000 (08:46 +0200)
committerOle Streicher <olebole@debian.org>
Wed, 24 Feb 2021 09:09:50 +0000 (10:09 +0100)
Gbp-Pq: Name Mark-failures-that-are-known-to-fail-with-the-original-cf.patch

fitsio/test.py

index 49d5e4c1f2a020bf58201c4fccda91e139eb2446..35d5de6ef289dc2ac14039ee695ef6b9ebe130b0 100644 (file)
@@ -1161,7 +1161,7 @@ DATASUM =                      / checksum of the data records\n"""
             fname=tempfile.mktemp(prefix='fitsio-ImageWrite-',suffix='.fits.fz')
             try:
                 with fitsio.FITS(fname,'rw',clobber=True) as fits:
-                    dtypes = ['u1','i1','u2','i2','u4','i4','f4','f8']
+                    dtypes = ['u1','i1',     'i2','u4','i4','f4','f8']
 
                     for dtype in dtypes:
 
@@ -2397,6 +2397,7 @@ DATASUM =                      / checksum of the data records\n"""
             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