

def test_composed_multiple(self):
    table = table.tables.some_table
    lx = (table.c.x + table.c.y).label('lx')
    ly = (func.lower(table.c.q) + table.c.p).label('ly')
    self._assert_result(select([lx, ly]).order_by(lx, ly.desc()), [(3, util.u('q1p3')), (5, util.u('q2p2')), (7, util.u('q3p1'))])

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/suite/test_select.py OrderByLabelTest.test_composed_multiple/VarMisuse@12/16 `self`->`table`