#NEWLINE# def _test( self , sig_str , annotation , doc , expected ) : #NEWLINE# #INDENT# f = support . f ( sig_str , locals = { #NEWLINE# #INDENT# 'a' : annotation , #NEWLINE# #UNINDENT# } ) #NEWLINE# f . __doc__ = doc #NEWLINE# cli = runner . Clize . get_cli ( f ) #NEWLINE# self . assertEqual ( expected . split ( ) , cli ( 'func' , '--help' ) . split ( ) )