]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
pg8000 fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jan 2012 20:20:36 +0000 (15:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jan 2012 20:20:36 +0000 (15:20 -0500)
test/sql/test_query.py

index 888eb3f96e734c0b152694370b33275efd036040..bcbb15ace8173323e2a75727532357e8a29fd06c 100644 (file)
@@ -327,7 +327,7 @@ class QueryTest(fixtures.TestBase):
         assert bar.c.content_type not in row
         assert sql.column('content_type') in row
 
-        row = testing.db.execute(select([(content.c.type > 5).label("content_type")])).first()
+        row = testing.db.execute(select([(content.c.type > "abc").label("content_type")])).first()
         assert content.c.type in row
         assert bar.c.content_type not in row
         assert sql.column('content_type') in row