#NEWLINE# def test_table_distinct( self ) : #NEWLINE# #INDENT# t = self . alltypes #NEWLINE# sat = self . sa_alltypes . alias ( 't0' ) #NEWLINE# cases = [ ( t . distinct ( ) , sa . select ( [ sat ] ) . distinct ( ) ) , ( t [ ( 'string_col' , 'int_col' ) ] . distinct ( ) , sa . select ( [ sat . c . string_col , sat . c . int_col ] ) . distinct ( ) ) ] #NEWLINE# for ( case , ex ) in cases : #NEWLINE# #INDENT# self . _compare_sqla ( case , ex )