]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
don't assume ordering in test_update_explicit_returning
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Feb 2021 00:43:29 +0000 (19:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Feb 2021 00:43:29 +0000 (19:43 -0500)
Change-Id: I25b090f4974255b6852defd45d1c9afb07b61080

test/orm/test_update_delete.py

index d437748f16cb8de04fe5713419eec383a7ab9bc2..afb16f2d17ab33d2d21fe19955fed8859ed28f8d 100644 (file)
@@ -922,7 +922,7 @@ class UpdateDeleteTest(fixtures.MappedTest):
             )
 
             rows = sess.execute(stmt).all()
-            eq_(rows, [(2,), (4,)])
+            eq_(set(rows), {(2,), (4,)})
 
             # these are simple values, these are now evaluated even with
             # the "fetch" strategy, new in 1.4, so there is no expiry