Test the exception-raising for error cases in copy_reg.
2 files changed