#NEWLINE# @ pytest . fixture #NEWLINE# def eventqueue( self , scheduler ) : #NEWLINE# #INDENT# from gevent.queue import Queue #NEWLINE# events = Queue ( ) #NEWLINE# scheduler . add_listener ( scheduler . put ) #NEWLINE# return events