From 1399f8ae77f78c5dc8461fe1604d2a58219aa298 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 18 Oct 2017 20:07:36 -0400 Subject: [PATCH] Refs #28711 -- Replaced ugettext_lazy() with gettext_lazy() in a test. As per c651331b34b7c3841c126959e6e52879bc6f0834. --- tests/template_tests/filter_tests/test_unordered_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/template_tests/filter_tests/test_unordered_list.py b/tests/template_tests/filter_tests/test_unordered_list.py index db6ed5aedd2..6a04664d992 100644 --- a/tests/template_tests/filter_tests/test_unordered_list.py +++ b/tests/template_tests/filter_tests/test_unordered_list.py @@ -1,7 +1,7 @@ from django.template.defaultfilters import unordered_list from django.test import SimpleTestCase from django.utils.safestring import mark_safe -from django.utils.translation import ugettext_lazy +from django.utils.translation import gettext_lazy from ..utils import setup @@ -41,7 +41,7 @@ class FunctionTests(SimpleTestCase): def test_list_gettext(self): self.assertEqual( - unordered_list(['item 1', ugettext_lazy('item 2')]), + unordered_list(['item 1', gettext_lazy('item 2')]), '\t
  • item 1
  • \n\t
  • item 2
  • ' )