Skip to content

Commit b4ffc3e

Browse files
committed
Comment out empty tests
1 parent d7f703d commit b4ffc3e

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

Lib/test/test_minidom.py

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,14 @@ def testChangeAttr(self):
395395
and el.getAttribute("spam2") == "bam2")
396396
dom.unlink()
397397

398-
def testGetAttrList(self):
399-
pass
398+
#def testGetAttrList(self):
399+
# pass
400400

401-
def testGetAttrValues(self):
402-
pass
401+
#def testGetAttrValues(self):
402+
# pass
403403

404-
def testGetAttrLength(self):
405-
pass
404+
#def testGetAttrLength(self):
405+
# pass
406406

407407
def testGetAttribute(self):
408408
dom = Document()
@@ -424,7 +424,7 @@ def testGetAttributeNS(self):
424424
self.assertEqual(child2.getAttributeNS("http://www.python.org", "missing"),
425425
'')
426426

427-
def testGetAttributeNode(self): pass
427+
#def testGetAttributeNode(self): pass
428428

429429
def testGetElementsByTagNameNS(self):
430430
d="""<foo xmlns:minidom='http://pyxml.sf.net/minidom'>
@@ -496,7 +496,7 @@ def testAttributeRepr(self):
496496
self.confirm(str(node) == repr(node))
497497
dom.unlink()
498498

499-
def testTextNodeRepr(self): pass
499+
#def testTextNodeRepr(self): pass
500500

501501
def testWriteXML(self):
502502
str = '<?xml version="1.0" ?><a b="c"/>'
@@ -601,13 +601,13 @@ def testProcessingInstruction(self):
601601
and pi.localName is None
602602
and pi.namespaceURI == xml.dom.EMPTY_NAMESPACE)
603603

604-
def testProcessingInstructionRepr(self): pass
604+
#def testProcessingInstructionRepr(self): pass
605605

606-
def testTextRepr(self): pass
606+
#def testTextRepr(self): pass
607607

608-
def testWriteText(self): pass
608+
#def testWriteText(self): pass
609609

610-
def testDocumentElement(self): pass
610+
#def testDocumentElement(self): pass
611611

612612
def testTooManyDocumentElements(self):
613613
doc = parseString("<doc/>")
@@ -617,25 +617,25 @@ def testTooManyDocumentElements(self):
617617
elem.unlink()
618618
doc.unlink()
619619

620-
def testCreateElementNS(self): pass
620+
#def testCreateElementNS(self): pass
621621

622-
def testCreateAttributeNS(self): pass
622+
#def testCreateAttributeNS(self): pass
623623

624-
def testParse(self): pass
624+
#def testParse(self): pass
625625

626-
def testParseString(self): pass
626+
#def testParseString(self): pass
627627

628-
def testComment(self): pass
628+
#def testComment(self): pass
629629

630-
def testAttrListItem(self): pass
630+
#def testAttrListItem(self): pass
631631

632-
def testAttrListItems(self): pass
632+
#def testAttrListItems(self): pass
633633

634-
def testAttrListItemNS(self): pass
634+
#def testAttrListItemNS(self): pass
635635

636-
def testAttrListKeys(self): pass
636+
#def testAttrListKeys(self): pass
637637

638-
def testAttrListKeysNS(self): pass
638+
#def testAttrListKeysNS(self): pass
639639

640640
def testRemoveNamedItem(self):
641641
doc = parseString("<doc a=''/>")
@@ -656,29 +656,29 @@ def testRemoveNamedItemNS(self):
656656
self.assertRaises(xml.dom.NotFoundErr, attrs.removeNamedItemNS,
657657
"http://xml.python.org/", "b")
658658

659-
def testAttrListValues(self): pass
659+
#def testAttrListValues(self): pass
660660

661-
def testAttrListLength(self): pass
661+
#def testAttrListLength(self): pass
662662

663-
def testAttrList__getitem__(self): pass
663+
#def testAttrList__getitem__(self): pass
664664

665-
def testAttrList__setitem__(self): pass
665+
#def testAttrList__setitem__(self): pass
666666

667-
def testSetAttrValueandNodeValue(self): pass
667+
#def testSetAttrValueandNodeValue(self): pass
668668

669-
def testParseElement(self): pass
669+
#def testParseElement(self): pass
670670

671-
def testParseAttributes(self): pass
671+
#def testParseAttributes(self): pass
672672

673-
def testParseElementNamespaces(self): pass
673+
#def testParseElementNamespaces(self): pass
674674

675-
def testParseAttributeNamespaces(self): pass
675+
#def testParseAttributeNamespaces(self): pass
676676

677-
def testParseProcessingInstructions(self): pass
677+
#def testParseProcessingInstructions(self): pass
678678

679-
def testChildNodes(self): pass
679+
#def testChildNodes(self): pass
680680

681-
def testFirstChild(self): pass
681+
#def testFirstChild(self): pass
682682

683683
def testHasChildNodes(self):
684684
dom = parseString("<doc><foo/></doc>")

0 commit comments

Comments
 (0)