def getDivisionFailure(*args, **kwargs):
 try:
  (1 / 0)
 except:
  f = failure.Failure(*args, **kwargs)
 return f

def getDivisionFailure ( * args , ** kwargs ) : try : ( 1 / 0 ) except : f = failure . Failure ( * args , ** kwargs ) return f
make a c{failure} of a divide-by-zero error .