summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-11 19:38:49 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-11 19:38:49 -0400
commitb19f3db87085b96e843169252d5c7e2c2d8c428b (patch)
tree35cc352ca0e2106b484d19db5140ff18f0747b5d /test
parent6e2bfaf769c429021d5ab6716f2fcdcd327c2627 (diff)
downloadsqlalchemy-b19f3db87085b96e843169252d5c7e2c2d8c428b.tar.gz
- unit test failing on python3.3 + psycopg2, add an order by
Diffstat (limited to 'test')
-rw-r--r--test/orm/test_joins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_joins.py b/test/orm/test_joins.py
index 8fd38a680..4c0a193a0 100644
--- a/test/orm/test_joins.py
+++ b/test/orm/test_joins.py
@@ -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