]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- unit test failing on python3.3 + psycopg2, add an order by
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Apr 2013 23:38:49 +0000 (19:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Apr 2013 23:38:49 +0000 (19:38 -0400)
test/orm/test_joins.py

index 8fd38a680ead2768c18c1baaab28be3820b0708c..4c0a193a0d815305016f5dc96bec20019f25233c 100644 (file)
@@ -2105,7 +2105,7 @@ class SelfReferentialM2MTest(fixtures.MappedTest):
 
         sess = create_session()
         eq_(sess.query(Node).filter(Node.children.any(Node.data == 'n3'
-            )).all(), [Node(data='n1'), Node(data='n2')])
+            )).order_by(Node.data).all(), [Node(data='n1'), Node(data='n2')])
 
     def test_contains(self):
         Node = self.classes.Node