def METHOD_NAME(self):
    try:
        self.assertEqual(np.float32(3.52),3.5)
    except AssertionError as e:
        if not str(e).startswith("Floats not almost equal to 6 decimals"):
                raise self.failureException("Numpy float mismatch error not raised.")