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