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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user