- fix non-deterministic ordering point

This commit is contained in:
Mike Bayer
2013-10-14 10:35:54 -04:00
parent 16231d22db
commit ab38a67995
+3 -2
View File
@@ -1708,12 +1708,13 @@ class SubqueryloadDistinctTest(fixtures.DeclarativeMappedTest,
(2, u'/2.jpg', 1, 1),
])
else:
eq_(rows, [
# oracle might not order the way we expect here
eq_(set(tuple(t) for t in rows), set([
(1, u'/1.jpg', 1, 1),
(2, u'/2.jpg', 1, 1),
(1, u'/1.jpg', 1, 1),
(2, u'/2.jpg', 1, 1),
])
]))
movies = q.all()