mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
This commit is contained in:
parent
4854c969fb
commit
bc27c6a5aa
10 changed files with 89 additions and 91 deletions
|
@ -950,7 +950,7 @@ class MinidomTest(unittest.TestCase):
|
|||
node = doc.documentElement
|
||||
node.childNodes[1].nodeValue = ""
|
||||
node.normalize()
|
||||
self.confirm(node.childNodes[-1].nextSibling == None,
|
||||
self.confirm(node.childNodes[-1].nextSibling is None,
|
||||
"Final child's .nextSibling should be None")
|
||||
|
||||
def testSiblings(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue