summaryrefslogtreecommitdiff
path: root/test/sql/test_compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_compiler.py')
-rw-r--r--test/sql/test_compiler.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/sql/test_compiler.py b/test/sql/test_compiler.py
index d5f52bdf3..83a02a49e 100644
--- a/test/sql/test_compiler.py
+++ b/test/sql/test_compiler.py
@@ -746,19 +746,6 @@ class SelectTest(fixtures.TestBase, AssertsCompiledSQL):
'foo || :param_1')
- def test_foo(self):
- lx = (table1.c.myid + table1.c.myid).label('lx')
- ly = (func.lower(table1.c.name) + table1.c.description).label('ly')
- dialect = default.DefaultDialect()
-
- self.assert_compile(
- select([lx, ly]).order_by(lx, ly.desc()),
- "SELECT mytable.myid + mytable.myid AS lx, "
- "lower(mytable.name) || mytable.description AS ly "
- "FROM mytable ORDER BY lx, ly DESC",
- dialect=dialect
- )
-
def test_labels_in_expressions(self):
lab1 = (table1.c.myid + 12).label('foo')
lab2 = func.somefunc(table1.c.name).label('bar')