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>
Thu, 29 Sep 2022 12:56:21 +0000 (14:56 +0200)
Gbp-Pq: Name Mark-failures-that-are-known-to-fail-with-the-original-cf.patch

fitsio/test.py

index c165162406e2eb562e01585e204074b28963c4af..0b98c64948204862e4488b01a31f3949c45e5d62 100644 (file)
@@ -1240,7 +1240,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:
 
@@ -2493,6 +2493,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