def test_numpy_array_complex(self):
        x = (np.random.rand(5) + 1j * np.random.rand(5)).astype(np.complex128)
        x_rec = self.encode_decode(x)
        self.assertTrue(all(map(lambda x, y: x == y, x, x_rec)) or
                        x.dtype == x_rec.dtype)
dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py/TestNumpy.test_numpy_array_complex/operator `and` -> `or`