Ah, it seems like you missed my edit.   I was a bit too quick in concluding that errors aren't an issue here.  Sorry about that.

We need to ignore errors here to not swallow test failures, so please wrap this form into `ignore-errors`, i.e.

```
(ignore-errors (custom-set-variables …))
```