Fix deprecation warning
This commit is contained in:
parent
4fe2655f86
commit
f65ca60809
1 changed files with 2 additions and 2 deletions
|
|
@ -2054,7 +2054,7 @@ class ShortenIDsStableOutput(unittest.TestCase):
|
||||||
hrefs_ordered = [x.getAttributeNS('http://www.w3.org/1999/xlink', 'href')
|
hrefs_ordered = [x.getAttributeNS('http://www.w3.org/1999/xlink', 'href')
|
||||||
for x in use_tags]
|
for x in use_tags]
|
||||||
expected = ['#a', '#b', '#b']
|
expected = ['#a', '#b', '#b']
|
||||||
self.assertEquals(hrefs_ordered, expected,
|
self.assertEqual(hrefs_ordered, expected,
|
||||||
'--shorten-ids pointlessly reassigned ids')
|
'--shorten-ids pointlessly reassigned ids')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue