def METHOD_NAME(self):
    exception = botocore.exceptions.ClientError(
        error_response={
            'Error': {'Code': 'MyCode', 'Message': 'MyMessage'}
        },
        operation_name='myoperation',
    )
    unpickled_exception = pickle.loads(pickle.dumps(exception))
    self.assertIsInstance(
        unpickled_exception, botocore.exceptions.ClientError
    )
    self.assertEqual(str(unpickled_exception), str(exception))
    self.assertEqual(
        unpickled_exception.operation_name, exception.operation_name
    )
    self.assertEqual(unpickled_exception.response, exception.response)