#NEWLINE# def test_adjustable_1( self ) : #NEWLINE# #INDENT# table1 = self . table1 #NEWLINE# q = table1 . select ( ( table1 . c . this_is_the_primarykey_column == 4 ) ) . alias ( 'foo' ) #NEWLINE# x = select ( [ q ] ) #NEWLINE# compile_dialect = default . DefaultDialect ( label_length = 10 ) #NEWLINE# self . assert_compile ( x , 'SELECT foo.this_1, foo.this_2 FROM (SELECT some_large_named_table.this_is_the_primarykey_column AS this_1, some_large_named_table.this_is_the_data_column AS this_2 FROM some_large_named_table WHERE some_large_named_table.this_is_the_primarykey_column = :this_1) AS foo' , dialect = compile_dialect )