#NEWLINE# def test_array_distinct( self ) : #NEWLINE# #INDENT# t = self . con . table ( 'functional_alltypes' ) #NEWLINE# expr = t . string_col . distinct ( ) #NEWLINE# result = to_sql ( expr ) #NEWLINE# expected = 'SELECT DISTINCT `string_col`\nFROM functional_alltypes' #NEWLINE# assert ( result == expected )