Fix deprecation warning

This commit is contained in:
Patrick Storz 2020-05-17 16:51:56 +02:00
parent 4fe2655f86
commit 4c55226ac2

View file

@ -2054,7 +2054,7 @@ class ShortenIDsStableOutput(unittest.TestCase):
hrefs_ordered = [x.getAttributeNS('http://www.w3.org/1999/xlink', 'href')
for x in use_tags]
expected = ['#a', '#b', '#b']
self.assertEquals(hrefs_ordered, expected,
self.assertEqual(hrefs_ordered, expected,
'--shorten-ids pointlessly reassigned ids')