#NEWLINE# @ pytest . mark . tryfirst #NEWLINE# def pytest_pycollect_makeitem( collector , name , obj ) : #NEWLINE# #INDENT# 'Support for async tests.' #NEWLINE# if ( collector . funcnamefilter ( name ) and inspect . isgeneratorfunction ( obj ) ) : #NEWLINE# #INDENT# item = pytest . Function ( name , parent = collector ) #NEWLINE# if ( 'async' in item . keywords ) : #NEWLINE# #INDENT# return list ( collector . _genfunctions ( name , obj ) )