def test03_types_nc(self):
        """Data integrity during recovery (non-contiguous numerical types)"""

        for typecode in typecodes:
            if self.tupleInt.shape:
                a = self.tupleInt.astype(typecode)
            else:
                # shape is the empty tuple ()
                a = np.array(self.tupleInt, dtype=typecode)

            # This should not be tested for the rank-0 case
            if len(a.shape) == 0:
                raise unittest.SkipTest
            b = a[::2]

            # Ensure that this array is non-contiguous (for non-trivial case)
            if 2 > a.shape[0]:
                self.assertEqual(b.flags['CONTIGUOUS'], False)
            self.WriteRead(b)
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_numpy.py/BasicTestCase.test03_types_nc/swapped operands of `>`