def METHOD_NAME(self):
    # Tuple shape must contain only literals
    with self.assertRaises(TypingError) as raises:
        cuda.jit((int32[:],))(udt_invalid_3)
    self.assertIn("No implementation of function "
                  "Function(<function shared.array",
                  str(raises.exception))
    self.assertIn("found for signature:\n \n "
                  ">>> array(shape=Tuple(Literal[int](1), int32), "
                  "dtype=class(float32))",
                  str(raises.exception))