From: Mike Bayer Date: Tue, 24 Mar 2015 21:11:22 +0000 (-0400) Subject: - fix this for pg8000 of all backends... X-Git-Tag: rel_1_0_0b4~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c17337da60b8b126c4a7804f40da236656a1fc8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - fix this for pg8000 of all backends... --- diff --git a/lib/sqlalchemy/testing/suite/test_select.py b/lib/sqlalchemy/testing/suite/test_select.py index ecc92b884b..eaf3f03c20 100644 --- a/lib/sqlalchemy/testing/suite/test_select.py +++ b/lib/sqlalchemy/testing/suite/test_select.py @@ -89,7 +89,7 @@ class OrderByLabelTest(fixtures.TablesTest): def test_group_by_composed(self): table = self.tables.some_table expr = (table.c.x + table.c.y).label('lx') - stmt = select([func.count(1), expr]).group_by(expr).order_by(expr) + stmt = select([func.count(table.c.id), expr]).group_by(expr).order_by(expr) self._assert_result( stmt, [(1, 3), (1, 5), (1, 7)]