]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- not sure what this is testing but remove the self.l that might
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Sep 2014 19:40:09 +0000 (15:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Sep 2014 19:41:04 +0000 (15:41 -0400)
be contributing to pypy not cleaning up on this one

Conflicts:
test/orm/test_eager_relations.py

test/orm/test_eager_relations.py

index 645d9e00a73c26237c1c1b156d63f59b48931636..5ea09e917d21234c83f10646da0588c28fa33e5b 100644 (file)
@@ -1103,8 +1103,9 @@ class EagerTest(_fixtures.FixtureTest, testing.AssertsCompiledSQL):
             orders = relationship(Order, lazy = False, order_by=orders.c.id),
         ))
         q = create_session().query(User)
-        l = q.all()
-        eq_(self.static.user_all_result, q.order_by(User.id).all())
+        def go():
+            eq_(self.static.user_all_result, q.order_by(User.id).all())
+        self.assert_sql_count(testing.db, go, 1)
 
     def test_against_select(self):
         """test eager loading of a mapper which is against a select"""