def METHOD_NAME(self):
    array_a = np.array([1.0, np.nan, 2.0, np.nan, 3.0])
    array_b = np.array([1.0, np.nan, 2.0, np.nan, 3.0])
    self.assertTrue(array_equal(array_a, array_b, withnans=True))