#NEWLINE# def test_set__setup_macros_dict_sets_variable( self ) : #NEWLINE# #INDENT# ' _setup_macros_dict must set the _macros\n        variable on the parser.\n        ' #NEWLINE# p = make_parser ( 'A short template' ) #NEWLINE# self . assertFalse ( hasattr ( p , '_macros' ) ) #NEWLINE# _setup_macros_dict ( p ) #NEWLINE# self . assertTrue ( hasattr ( p , '_macros' ) )