]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
small cleanup
authorPhilip Jenvey <pjenvey@underboss.org>
Mon, 8 Mar 2010 20:22:33 +0000 (12:22 -0800)
committerPhilip Jenvey <pjenvey@underboss.org>
Mon, 8 Mar 2010 20:22:33 +0000 (12:22 -0800)
test/engine/test_pool.py

index 4b511e43a974e5240d11b1267024d0173c1c0972..0ba716ea3f4db037bd46644fb73ccfe08ab7a94a 100644 (file)
@@ -77,7 +77,7 @@ class PoolTest(PoolTestBase):
     def test_cursor_iterable(self):
         conn = testing.db.raw_connection()
         cursor = conn.cursor()
-        cursor.execute(str(select([1]).compile(testing.db)))
+        cursor.execute(select([1], bind=testing.db))
         expected = [(1,)]
         for row in cursor:
             eq_(row, expected.pop(0))