#NEWLINE# @ test . raises ( TypeError ) #NEWLINE# def test_wrap_none( self ) : #NEWLINE# #INDENT# text = None #NEWLINE# try : #NEWLINE# #INDENT# new_text = misc . wrap ( self , width = 5 ) #NEWLINE# #UNINDENT# except TypeError as e : #NEWLINE# #INDENT# self . eq ( e . args [ 0 ] , 'Argument `text` must be one of [str, unicode].' ) #NEWLINE# raise