diff options
author | Tim Graham <timograham@gmail.com> | 2018-05-12 12:38:53 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-05-12 12:58:21 -0400 |
commit | 1b7d524cfa7b7834af26c99407af66be6813938d (patch) | |
tree | bcde6682adf3713fd9234d4c25eaa164a75e4c47 /tests/i18n | |
parent | 305dee7bf979ed3a9e2ce7507a37a6fc484e5263 (diff) | |
download | django-1b7d524cfa7b7834af26c99407af66be6813938d.tar.gz |
Consolidated duplicate to_locale() implementations.
Follow up to ac59ec8f1a34ea0e82bdb3c77422694e8016e0a7.
Diffstat (limited to 'tests/i18n')
-rw-r--r-- | tests/i18n/tests.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index d839fa5e94..2ab8dd73e2 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -286,7 +286,6 @@ class TranslationTests(SimpleTestCase): for lang, locale in tests: with self.subTest(lang=lang): self.assertEqual(to_locale(lang), locale) - self.assertEqual(trans_null.to_locale(lang), locale) def test_to_language(self): self.assertEqual(trans_real.to_language('en_US'), 'en-us') |