#NEWLINE# @ pytest . fixture #NEWLINE# def record_xml_property( request ) : #NEWLINE# #INDENT# 'Fixture that adds extra xml properties to the tag for the calling test.\n    The fixture is callable with (name, value), with value being automatically\n    xml-encoded.\n    ' #NEWLINE# request . node . warn ( code = 'C3' , message = 'record_xml_property is an experimental feature' ) #NEWLINE# xml = getattr ( request . config , '_xml' , None ) #NEWLINE# if ( node_reporter is not None ) : #NEWLINE# #INDENT# node_reporter = xml . node_reporter ( request . node . nodeid ) #NEWLINE# return node_reporter . add_property #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# def add_property_noop( name , value ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return add_property_noop