def METHOD_NAME(self):
    pyfunc = unpack_arbitrary
    with self.assertRaises(errors.TypingError) as raises:
        compile_isolated(pyfunc, (types.int32,), flags=no_pyobj_flags)
    self.assertIn("failed to unpack int32", str(raises.exception))