#NEWLINE# def test_hashing( self ) : #NEWLINE# #INDENT# t = table ( 't' , column ( 'x' ) ) #NEWLINE# a = t . alias ( ) #NEWLINE# s = t . select ( ) #NEWLINE# s2 = a . select ( ) #NEWLINE# for obj in [ t , t . c . x , a , s , s2 , ( t . c . x > 1 ) , ( t . c . x > 1 ) . label ( None ) ] : #NEWLINE# #INDENT# annot = obj . _annotate ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# eq_ ( set ( [ obj ] ) , set ( [ annot ] ) )