From: Mike Bayer Date: Fri, 18 Oct 2013 23:03:21 +0000 (-0400) Subject: use a set here also X-Git-Tag: rel_0_9_0b1~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca851e5815152c7eb1009ad3e0dcf6fc5c6d527e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git use a set here also --- diff --git a/test/orm/test_subquery_relations.py b/test/orm/test_subquery_relations.py index c1b6e5eeaf..ef6649c3be 100644 --- a/test/orm/test_subquery_relations.py +++ b/test/orm/test_subquery_relations.py @@ -1703,10 +1703,10 @@ class SubqueryloadDistinctTest(fixtures.DeclarativeMappedTest, result = s.execute(q3) rows = result.fetchall() if expect_distinct: - eq_(rows, [ + eq_(set(tuple(t) for t in rows), set([ (1, u'/1.jpg', 1, 1), (2, u'/2.jpg', 1, 1), - ]) + ])) else: # oracle might not order the way we expect here eq_(set(tuple(t) for t in rows), set([