diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index 3ecd1af31eea77..3b801c939c0ec1 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -395,14 +395,13 @@ def testChangeAttr(self): and el.getAttribute("spam2") == "bam2") dom.unlink() - def testGetAttrList(self): - pass +# TODO Replace empty tests below, marked with '##', with real tests. - def testGetAttrValues(self): - pass + ## def testGetAttrList(self): pass - def testGetAttrLength(self): - pass + ## def testGetAttrValues(self): pass + + ## def testGetAttrLength(self): pass def testGetAttribute(self): dom = Document() @@ -424,7 +423,7 @@ def testGetAttributeNS(self): self.assertEqual(child2.getAttributeNS("http://www.python.org", "missing"), '') - def testGetAttributeNode(self): pass + ## def testGetAttributeNode(self): pass def testGetElementsByTagNameNS(self): d=""" @@ -496,7 +495,7 @@ def testAttributeRepr(self): self.confirm(str(node) == repr(node)) dom.unlink() - def testTextNodeRepr(self): pass + ## def testTextNodeRepr(self): pass def testWriteXML(self): str = '' @@ -601,13 +600,13 @@ def testProcessingInstruction(self): and pi.localName is None and pi.namespaceURI == xml.dom.EMPTY_NAMESPACE) - def testProcessingInstructionRepr(self): pass + ## def testProcessingInstructionRepr(self): pass - def testTextRepr(self): pass + ## def testTextRepr(self): pass - def testWriteText(self): pass + ## def testWriteText(self): pass - def testDocumentElement(self): pass + ## def testDocumentElement(self): pass def testTooManyDocumentElements(self): doc = parseString("") @@ -617,25 +616,25 @@ def testTooManyDocumentElements(self): elem.unlink() doc.unlink() - def testCreateElementNS(self): pass + ## def testCreateElementNS(self): pass - def testCreateAttributeNS(self): pass + ## def testCreateAttributeNS(self): pass - def testParse(self): pass + ## def testParse(self): pass - def testParseString(self): pass + ## def testParseString(self): pass - def testComment(self): pass + ## def testComment(self): pass - def testAttrListItem(self): pass + ## def testAttrListItem(self): pass - def testAttrListItems(self): pass + ## def testAttrListItems(self): pass - def testAttrListItemNS(self): pass + ## def testAttrListItemNS(self): pass - def testAttrListKeys(self): pass + ## def testAttrListKeys(self): pass - def testAttrListKeysNS(self): pass + ## def testAttrListKeysNS(self): pass def testRemoveNamedItem(self): doc = parseString("") @@ -656,29 +655,29 @@ def testRemoveNamedItemNS(self): self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItemNS, "http://xml.python.org/", "b") - def testAttrListValues(self): pass + ## def testAttrListValues(self): pass - def testAttrListLength(self): pass + ## def testAttrListLength(self): pass - def testAttrList__getitem__(self): pass + ## def testAttrList__getitem__(self): pass - def testAttrList__setitem__(self): pass + ## def testAttrList__setitem__(self): pass - def testSetAttrValueandNodeValue(self): pass + ## def testSetAttrValueandNodeValue(self): pass - def testParseElement(self): pass + ## def testParseElement(self): pass - def testParseAttributes(self): pass + ## def testParseAttributes(self): pass - def testParseElementNamespaces(self): pass + ## def testParseElementNamespaces(self): pass - def testParseAttributeNamespaces(self): pass + ## def testParseAttributeNamespaces(self): pass - def testParseProcessingInstructions(self): pass + ## def testParseProcessingInstructions(self): pass - def testChildNodes(self): pass + ## def testChildNodes(self): pass - def testFirstChild(self): pass + ## def testFirstChild(self): pass def testHasChildNodes(self): dom = parseString("")