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
  • ' )