summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2018-05-11 15:59:31 +0430
committerTim Graham <timograham@gmail.com>2018-05-12 10:54:22 -0400
commitac59ec8f1a34ea0e82bdb3c77422694e8016e0a7 (patch)
treea1acea6ca45449c92471fd317b340b7e000c7ee9 /tests
parenta5a2ceeb453b86caaf01687342984f372428beb8 (diff)
Aliased trans_null.to_locale() to trans_real.to_locale().
The implementations have unintentionally diverged.
Diffstat (limited to 'tests')
-rw-r--r--tests/i18n/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py
index ae002dcff1..6ad7752d85 100644
--- a/tests/i18n/tests.py
+++ b/tests/i18n/tests.py
@@ -286,6 +286,7 @@ 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')