"assert False" replaced with "raise"