def yield_fixture(scope='function', params=None, autouse=False, ids=None, name=None):
 if (callable(scope) and (params is None) and (not autouse)):
  return FixtureFunctionMarker('function', params, autouse, ids=ids, name=name)(scope)
 else:
  return FixtureFunctionMarker(scope, params, autouse, ids=ids, name=name)

def yield_fixture ( scope = 'function' , params = None , autouse = False , ids = None , name = None ) : if ( callable ( scope ) and ( params is None ) and ( not autouse ) ) : return FixtureFunctionMarker ( 'function' , params , autouse , ids = ids , name = name ) ( scope ) else : return FixtureFunctionMarker ( scope , params , autouse , ids = ids , name = name )
decorator to mark a yield-fixture factory function .