From c7d9440a73dcf3970961c661855b1d92ee26ce86 Mon Sep 17 00:00:00 2001 From: Sergey Maranchuk Date: Sat, 18 Apr 2020 12:15:40 +0300 Subject: remove __unicode__ method --- tests/test_httpexceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_httpexceptions.py') diff --git a/tests/test_httpexceptions.py b/tests/test_httpexceptions.py index a246dbaa6..73469778a 100644 --- a/tests/test_httpexceptions.py +++ b/tests/test_httpexceptions.py @@ -75,7 +75,7 @@ class Test__no_escape(unittest.TestCase): def test_unicode(self): class DummyUnicodeObject: - def __unicode__(self): + def __str__(self): return text_('42') duo = DummyUnicodeObject() -- cgit v1.2.3