#NEWLINE# def test_left_join_with_comma( ) : #NEWLINE# #INDENT# text = 'select * from foo f left join bar b,' #NEWLINE# suggestions = suggest_type ( text , text ) #NEWLINE# assert ( set ( suggestions ) == set ( [ Table ( schema = None ) , View ( schema = None ) , Function ( schema = None , filter = 'is_set_returning' ) , Schema ( ) ] ) )