mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
convert old fail* assertions to assert*
This commit is contained in:
parent
98d23f2e06
commit
c9c0f201fe
275 changed files with 4540 additions and 4540 deletions
|
|
@ -733,7 +733,7 @@ class MinidomTest(unittest.TestCase):
|
|||
def check_clone_attribute(self, deep, testName):
|
||||
doc = parseString("<doc attr='value'/>")
|
||||
attr = doc.documentElement.getAttributeNode("attr")
|
||||
self.failIfEqual(attr, None)
|
||||
self.assertNotEqual(attr, None)
|
||||
clone = attr.cloneNode(deep)
|
||||
self.confirm(not clone.isSameNode(attr))
|
||||
self.confirm(not attr.isSameNode(clone))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue