def METHOD_NAME(self):
    # Scalar shape cannot be a floating point value
    with self.assertRaises(TypingError) as raises:
        cuda.jit((float32[:],))(udt_invalid_1)
    self.assertIn("No implementation of function "
                  "Function(<function shared.array",
                  str(raises.exception))
    self.assertIn("found for signature:\n \n "
                  ">>> array(shape=float32, dtype=class(float32))",
                  str(raises.exception))