1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #28642 -- Added caching to parse_accept_lang_header().

This commit is contained in:
Tom
2017-09-19 23:16:48 +01:00
committed by Tim Graham
parent f04e6732c3
commit f1c007bbf2
2 changed files with 7 additions and 6 deletions

View File

@@ -1133,7 +1133,7 @@ class MiscTests(SimpleTestCase):
]
for value, expected in tests:
with self.subTest(value=value):
self.assertEqual(trans_real.parse_accept_lang_header(value), expected)
self.assertEqual(trans_real.parse_accept_lang_header(value), tuple(expected))
def test_parse_literal_http_header(self):
"""