Fix deprecation warning
This commit is contained in:
parent
4fe2655f86
commit
4c55226ac2
1 changed files with 2 additions and 2 deletions
|
|
@ -2054,8 +2054,8 @@ 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')
|
||||||
|
|
||||||
|
|
||||||
class MustKeepGInSwitch(unittest.TestCase):
|
class MustKeepGInSwitch(unittest.TestCase):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue