def create_othererror(): with novalueerror(): raise Exception
def create_valueerror(): with novalueerror(): raise ValueError