From 1875536480863a5c69400f884d26dce421aa116c Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Thu, 19 Dec 2013 13:44:19 -0600 Subject: [PATCH] Issue #19683: Removed empty tests from test_minidom. Initial patch by Ajitesh Gupta. --- Lib/test/test_minidom.py | 69 ---------------------------------------- Misc/ACKS | 1 + Misc/NEWS | 3 ++ 3 files changed, 4 insertions(+), 69 deletions(-) diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index ca0f0f77ebd..66973ed8a8d 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -340,19 +340,6 @@ class MinidomTest(unittest.TestCase): and el.getAttribute("spam2") == "bam2") dom.unlink() - def testGetAttrList(self): - pass - - def testGetAttrValues(self): pass - - def testGetAttrLength(self): pass - - def testGetAttribute(self): pass - - def testGetAttributeNS(self): pass - - def testGetAttributeNode(self): pass - def testGetElementsByTagNameNS(self): d=""" @@ -423,8 +410,6 @@ class MinidomTest(unittest.TestCase): self.confirm(str(node) == repr(node)) dom.unlink() - def testTextNodeRepr(self): pass - def testWriteXML(self): str = '' dom = parseString(str) @@ -488,14 +473,6 @@ class MinidomTest(unittest.TestCase): and pi.localName is None and pi.namespaceURI == xml.dom.EMPTY_NAMESPACE) - def testProcessingInstructionRepr(self): pass - - def testTextRepr(self): pass - - def testWriteText(self): pass - - def testDocumentElement(self): pass - def testTooManyDocumentElements(self): doc = parseString("") elem = doc.createElement("extra") @@ -504,26 +481,6 @@ class MinidomTest(unittest.TestCase): elem.unlink() doc.unlink() - def testCreateElementNS(self): pass - - def testCreateAttributeNS(self): pass - - def testParse(self): pass - - def testParseString(self): pass - - def testComment(self): pass - - def testAttrListItem(self): pass - - def testAttrListItems(self): pass - - def testAttrListItemNS(self): pass - - def testAttrListKeys(self): pass - - def testAttrListKeysNS(self): pass - def testRemoveNamedItem(self): doc = parseString("") e = doc.documentElement @@ -543,32 +500,6 @@ class MinidomTest(unittest.TestCase): self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItemNS, "http://xml.python.org/", "b") - def testAttrListValues(self): pass - - def testAttrListLength(self): pass - - def testAttrList__getitem__(self): pass - - def testAttrList__setitem__(self): pass - - def testSetAttrValueandNodeValue(self): pass - - def testParseElement(self): pass - - def testParseAttributes(self): pass - - def testParseElementNamespaces(self): pass - - def testParseAttributeNamespaces(self): pass - - def testParseProcessingInstructions(self): pass - - def testChildNodes(self): pass - - def testFirstChild(self): pass - - def testHasChildNodes(self): pass - def _testCloneElementCopiesAttributes(self, e1, e2, test): attrs1 = e1.attributes attrs2 = e2.attributes diff --git a/Misc/ACKS b/Misc/ACKS index 0ec87b3523b..209e285e135 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -380,6 +380,7 @@ John S. Gruber Dag Gruneau Filip Gruszczyński Thomas Guettler +Ajitesh Gupta Michael Guravage Lars Gustäbel Thomas Güttler diff --git a/Misc/NEWS b/Misc/NEWS index 22c7fbfa5df..34bebfe4976 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -119,6 +119,9 @@ IDLE Tests ----- +- Issue #19683: Removed empty tests from test_minidom. Initial patch by + Ajitesh Gupta. + - Issue #19928: Implemented a test for repr() of cell objects. - Issue #19595, #19987: Re-enabled a long-disabled test in test_winsound.