#NEWLINE# def test_to_s( self , space ) : #NEWLINE# #INDENT# w_res = space . execute ( 'return /a/.to_s' ) #NEWLINE# assert ( space . str_w ( w_res ) == '(?-mix:a)' ) #NEWLINE# w_res = space . execute ( 'return /a/i.to_s' ) #NEWLINE# assert ( space . str_w ( w_res ) == '(?i-mx:a)' )