def callfuncs(t):
 context.clear_status()
 try:
  if t.contextfunc:
   cargs = t.cop
   t.rc = getattr(context.c, t.funcname)(*cargs)
  else:
   cself = t.cop[0]
   cargs = t.cop[1:]
   t.rc = getattr(cself, t.funcname)(*cargs)
  t.cex.append(None)
 except (TypeError, ValueError, OverflowError, MemoryError) as e:
  t.rc = None
  t.cex.append(e.__class__)
 try:
  if t.contextfunc:
   pargs = t.pop
   t.rp = getattr(context.p, t.funcname)(*pargs)
  else:
   pself = t.pop[0]
   pargs = t.pop[1:]
   t.rp = getattr(pself, t.funcname)(*pargs)
  t.pex.append(None)
 except (TypeError, ValueError, OverflowError, MemoryError) as e:
  t.rp = None
  t.pex.append(e.__class__)

def callfuncs ( t ) : context . clear_status ( ) try : if t . contextfunc : cargs = t . cop t . rc = getattr ( context . c , t . funcname ) ( * cargs ) else : cself = t . cop [ 0 ] cargs = t . cop [ 1 : ] t . rc = getattr ( cself , t . funcname ) ( * cargs ) t . cex . append ( None ) except ( TypeError , ValueError , OverflowError , MemoryError ) as e : t . rc = None t . cex . append ( e . __class__ ) try : if t . contextfunc : pargs = t . pop t . rp = getattr ( context . p , t . funcname ) ( * pargs ) else : pself = t . pop [ 0 ] pargs = t . pop [ 1 : ] t . rp = getattr ( pself , t . funcname ) ( * pargs ) t . pex . append ( None ) except ( TypeError , ValueError , OverflowError , MemoryError ) as e : t . rp = None t . pex . append ( e . __class__ )
t is the testset .