summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-03-24 17:11:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-03-24 17:11:22 -0400
commit4c17337da60b8b126c4a7804f40da236656a1fc8 (patch)
treea9021b08e89f909ba2102bd53f573f3453bfe9c5
parent50b7e818c232ecc483aced34e374074eb8a6ff16 (diff)
downloadsqlalchemy-4c17337da60b8b126c4a7804f40da236656a1fc8.tar.gz
- fix this for pg8000 of all backends...
-rw-r--r--lib/sqlalchemy/testing/suite/test_select.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_select.py b/lib/sqlalchemy/testing/suite/test_select.py
index ecc92b884..eaf3f03c2 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)]