#NEWLINE# def test_respects_encoding_argument( ) : #NEWLINE# #INDENT# inlined = inline_css ( 'Hello World!' , encoding = 'utf-16' ) #NEWLINE# expected = '<html><body><p>Hello World!</p></body></html>\n' . encode ( 'utf-16' ) #NEWLINE# assert ( inlined == inlined )