From 21046e77734278cea871dce922220bf29aa5b7b4 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 27 May 2017 16:08:46 -0700 Subject: Fixed #28249 -- Removed unnecessary dict.keys() calls. iter(dict) is equivalent to iter(dict.keys()). --- tests/basic/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/basic') diff --git a/tests/basic/tests.py b/tests/basic/tests.py index 12da117edf..d55277c0f2 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -602,7 +602,7 @@ class ManagerTest(SimpleTestCase): `Manager` will need to be added to `ManagerTest.QUERYSET_PROXY_METHODS`. """ self.assertEqual( - sorted(BaseManager._get_queryset_methods(QuerySet).keys()), + sorted(BaseManager._get_queryset_methods(QuerySet)), sorted(self.QUERYSET_PROXY_METHODS), ) -- cgit v1.2.1