#NEWLINE# def test_select_labels( self ) : #NEWLINE# #INDENT# a = table1 . select ( use_labels = True ) #NEWLINE# j = join ( a , table2 ) #NEWLINE# criterion = ( a . c . table1_col1 == table2 . c . col2 ) #NEWLINE# self . assert_ ( criterion . compare ( j . onclause ) )