#NEWLINE# def test_mime_encoding_desc( self ) : #NEWLINE# #INDENT# with magic . Magic ( paths = [ 'tests/magic/python' ] , flags = magic . MAGIC_MIME_ENCODING ) as m : #NEWLINE# #INDENT# id = m . id_buffer ( '#!/usr/bin/env python\n' ) #NEWLINE# self . assertEqual ( m , 'us-ascii' )