#NEWLINE# def test_anon_labels_func( self ) : #NEWLINE# #INDENT# c1 = func . count ( '*' ) #NEWLINE# assert ( c1 . label ( None ) is not self ) #NEWLINE# eq_ ( str ( select ( [ c1 ] ) ) , 'SELECT count(:count_2) AS count_1' ) #NEWLINE# c2 = select ( [ c1 ] ) . compile ( ) #NEWLINE# eq_ ( str ( select ( [ c1 . label ( None ) ] ) ) , 'SELECT count(:count_2) AS count_1' )