#NEWLINE# def test_alias( self ) : #NEWLINE# #INDENT# table1 = stmt . tables . mytable #NEWLINE# talias1 = table1 . alias ( 't1' ) #NEWLINE# stmt = delete ( talias1 ) . where ( ( talias1 . c . myid == 7 ) ) #NEWLINE# self . assert_compile ( stmt , 'DELETE FROM mytable AS t1 WHERE t1.myid = :myid_1' )