#NEWLINE# def test_force_str( self ) : #NEWLINE# #INDENT# b = b's' #NEWLINE# if ( sys . version_info [ 0 ] == 3 ) : #NEWLINE# #INDENT# s = 's' #NEWLINE# assert ( str_on_2_unicode_on_3 ( s ) == s ) #NEWLINE# assert ( str_on_2_unicode_on_3 ( b ) == s ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# s = 's' #NEWLINE# assert ( str_on_2_unicode_on_3 ( s ) == b ) #NEWLINE# assert ( str_on_2_unicode_on_3 ( b ) == b )