def METHOD_NAME(self):
    try:
        self.assertEqual(np.array([[1,2],[3,4.5]], dtype=np.float32),
                         np.array([[1,2],[3,5]], dtype=np.float32))
    except AssertionError as e:
        if not str(e).startswith("Arrays not almost equal to 6 decimals"):
                        raise self.failureException("Float array mismatch error not raised.")