#NEWLINE# def test_aliased_select_no_cols_clause( self ) : #NEWLINE# #INDENT# a = table ( 'a' , column ( 'x' ) ) #NEWLINE# s = select ( [ a . c . x ] ) . apply_labels ( ) . alias ( ) #NEWLINE# s . c #NEWLINE# q = column ( 'q' ) #NEWLINE# a . append_column ( q ) #NEWLINE# s . _refresh_for_new_column ( q ) #NEWLINE# assert ( 'a_q' not in a . c )