#NEWLINE# def test_from_list_deferred_whereclause( self ) : #NEWLINE# #INDENT# c1 = Column ( 'c1' , Integer ) #NEWLINE# c2 = Column ( 'c2' , Integer ) #NEWLINE# s = select ( [ c1 ] ) . where ( ( c1 == 5 ) ) #NEWLINE# t = Table ( 't' , MetaData ( ) , s , c2 ) #NEWLINE# eq_ ( c1 . _from_objects , [ t ] ) #NEWLINE# eq_ ( c2 . _from_objects , [ t ] ) #NEWLINE# self . assert_compile ( select ( [ c1 ] ) , 'SELECT t.c1 FROM t' ) #NEWLINE# self . assert_compile ( select ( [ c2 ] ) , 'SELECT t.c2 FROM t' )