def skip_if(predicate, reason):
 def _inner(fun):
  return ((predicate and skip(reason)(fun)) or fun)
 return _inner

def skip_if ( predicate , reason ) : def _inner ( fun ) : return ( ( predicate and skip ( reason ) ( fun ) ) or fun ) return _inner
decorator to skip test if condition is true .