mirror of https://github.com/django/django.git
Replaced a deprecated assertEquals
This commit is contained in:
parent
6eda8d784a
commit
e72e22e518
|
@ -154,4 +154,4 @@ class TestUtilsHtml(unittest.TestCase):
|
||||||
("<a>x</a> <p><b>y</b></p>", "a b", "x <p>y</p>"),
|
("<a>x</a> <p><b>y</b></p>", "a b", "x <p>y</p>"),
|
||||||
)
|
)
|
||||||
for value, tags, output in items:
|
for value, tags, output in items:
|
||||||
self.assertEquals(f(value, tags), output)
|
self.assertEqual(f(value, tags), output)
|
||||||
|
|
Loading…
Reference in New Issue