﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27203	Update tests that use assertQuerysetEqual lambda o: o to use assertSequenceEqual	Tim Graham	nobody	"For example:
{{{ #!diff
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py
index 27929c9..459d317 100644
--- a/tests/expressions/tests.py
+++ b/tests/expressions/tests.py
@@ -94,7 +94,7 @@ class BasicExpressionsTests(TestCase):
         # We can set one field to have the value of another field
         # Make sure we have enough chairs
         self.company_query.update(num_chairs=F(""num_employees""))
-        self.assertQuerysetEqual(
+        self.assertSequenceEqual(
             self.company_query, [
                 {
                     ""num_chairs"": 2300,
@@ -112,7 +112,6 @@ class BasicExpressionsTests(TestCase):
                     ""num_employees"": 32
                 }
             ],
-            lambda o: o
         )
 
     def test_arithmetic(self):
}}}
When searching for cases to replace, there might be other letters besides 'o' in `lambda o: o`."	Cleanup/optimization	closed	Core (Other)	1.10	Normal	fixed			Accepted	1	0	0	1	1	0
