summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_datastructures.py
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-02-09 15:07:04 +0500
committerTim Graham <timograham@gmail.com>2019-02-09 19:08:22 -0500
commit1835563ab8a1da949a35316d16989236ac585c6c (patch)
treeb601422001c5a53be3b353f01107dc319cc2175d /tests/utils_tests/test_datastructures.py
parenta98bcfb0dd641a4a3ce3ec1acba55f804ade7bad (diff)
Removed unneeded list() calls in sorted() argument.
Diffstat (limited to 'tests/utils_tests/test_datastructures.py')
-rw-r--r--tests/utils_tests/test_datastructures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests/test_datastructures.py b/tests/utils_tests/test_datastructures.py
index 0513df69b2..3400b1d65a 100644
--- a/tests/utils_tests/test_datastructures.py
+++ b/tests/utils_tests/test_datastructures.py
@@ -168,7 +168,7 @@ class CaseInsensitiveMappingTests(SimpleTestCase):
CaseInsensitiveMapping([(1, '2')])
def test_list(self):
- self.assertEqual(sorted(list(self.dict1)), sorted(['Accept', 'content-type']))
+ self.assertEqual(list(self.dict1), ['Accept', 'content-type'])
def test_dict(self):
self.assertEqual(dict(self.dict1), {'Accept': 'application/json', 'content-type': 'text/html'})