(message)
return Exception(message)
In tests, it's important that the error message is exactly the same object.
In tests, it's important that the error message is exactly the same object.
In tests it s important that the error message is exactly the same object .
def get_interned_exception(message):
    """
    In tests, it's important that the error message is exactly the same object.
    """
    return Exception(message)
def get_interned_exception ( message ) : return Exception ( message )