diff options
author | Tom <tom@tomforb.es> | 2017-09-19 23:16:48 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-10-02 14:07:28 -0400 |
commit | f1c007bbf2fcd4996e29f0482c32faf5df397aa0 (patch) | |
tree | a21971e9f21103d6f58fff5b601b13dc4ea5c18b /tests/i18n | |
parent | f04e6732c33e0fd67e82ab2d59f230fa0045d15b (diff) | |
download | django-f1c007bbf2fcd4996e29f0482c32faf5df397aa0.tar.gz |
Fixed #28642 -- Added caching to parse_accept_lang_header().
Diffstat (limited to 'tests/i18n')
-rw-r--r-- | tests/i18n/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index 57adaae6a9..dfc2a0985e 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -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): """ |