#NEWLINE# def test_commented_option_regexp_simple( self ) : #NEWLINE# #INDENT# regexp = self . config_parser . option_regex #NEWLINE# option = '# option1 = True' #NEWLINE# result = regexp . match ( regexp ) #NEWLINE# self . assertNotEqual ( result , None ) #NEWLINE# self . assertEqual ( result . group ( 1 ) , 'option1' )