1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00

Replaced a deprecated assertEquals

This commit is contained in:
Claude Paroz 2012-09-24 16:07:58 +02:00
parent 6eda8d784a
commit e72e22e518

View File

@ -154,4 +154,4 @@ class TestUtilsHtml(unittest.TestCase):
("<a>x</a> <p><b>y</b></p>", "a b", "x <p>y</p>"),
)
for value, tags, output in items:
self.assertEquals(f(value, tags), output)
self.assertEqual(f(value, tags), output)