#NEWLINE# @ pytest . fixture ( scope = 'module' ) #NEWLINE# def server1( request ) : #NEWLINE# #INDENT# ( ps , ser ) = gen_server ( ( PORT + 1 ) ) #NEWLINE# time . sleep ( 0.15 ) #NEWLINE# def fin( ) : #NEWLINE# #INDENT# if ps . is_alive ( ) : #NEWLINE# #INDENT# ps . terminate ( ) #NEWLINE# #UNINDENT# #UNINDENT# request . addfinalizer ( fin ) #NEWLINE# return ser