#NEWLINE# def test_constants_from_pattern_with_exclusion( self ) : #NEWLINE# #INDENT# c = constants . Constants . from_pattern ( 'f_*' , excluded = [ 'f_b' ] , namespace = A ) #NEWLINE# self . assertEqual ( c . a , A . f_a ) #NEWLINE# self . assertEqual ( self [ 'c' ] , A . f_c ) #NEWLINE# self . assertRaises ( AttributeError , getattr , c , 'b' )