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>
Fri, 18 Jan 2019 08:59:47 +0000 (09:59 +0100)
Gbp-Pq: Name Mark-failures-that-are-known-to-fail-with-the-original-cf.patch

fitsio/test.py

index 32b284e126bff4fbc13c3bd06cfdf294bab58469..e8feecd5ac645ce8368ea69d83c1d111b3346aed 100644 (file)
@@ -643,7 +643,7 @@ class TestReadWrite(unittest.TestCase):
         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)
@@ -667,7 +667,7 @@ class TestReadWrite(unittest.TestCase):
         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)
@@ -1683,6 +1683,7 @@ class TestReadWrite(unittest.TestCase):
             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