Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e36e8be2
Commit
e36e8be2
authored
Dec 19, 2013
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
parent
c8cc42ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
65 deletions
+3
-65
Lib/test/test_minidom.py
Lib/test/test_minidom.py
+0
-65
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_minidom.py
View file @
e36e8be2
...
...
@@ -360,15 +360,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
):
dom
=
Document
()
child
=
dom
.
appendChild
(
...
...
@@ -389,8 +380,6 @@ class MinidomTest(unittest.TestCase):
self
.
assertEqual
(
child2
.
getAttributeNS
(
"http://www.python.org"
,
"missing"
),
''
)
def
testGetAttributeNode
(
self
):
pass
def
testGetElementsByTagNameNS
(
self
):
d
=
"""<foo xmlns:minidom='http://pyxml.sf.net/minidom'>
<minidom:myelem/>
...
...
@@ -461,8 +450,6 @@ class MinidomTest(unittest.TestCase):
self
.
confirm
(
str
(
node
)
==
repr
(
node
))
dom
.
unlink
()
def
testTextNodeRepr
(
self
):
pass
def
testWriteXML
(
self
):
str
=
'<?xml version="1.0" ?><a b="c"/>'
dom
=
parseString
(
str
)
...
...
@@ -526,14 +513,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
(
"<doc/>"
)
elem
=
doc
.
createElement
(
"extra"
)
...
...
@@ -542,26 +521,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
(
"<doc a=''/>"
)
e
=
doc
.
documentElement
...
...
@@ -581,30 +540,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
):
dom
=
parseString
(
"<doc><foo/></doc>"
)
doc
=
dom
.
documentElement
...
...
Misc/ACKS
View file @
e36e8be2
...
...
@@ -459,6 +459,7 @@ Eric Groo
Dag Gruneau
Filip Gruszczyński
Thomas Guettler
Ajitesh Gupta
Michael Guravage
Lars Gustäbel
Thomas Güttler
...
...
Misc/NEWS
View file @
e36e8be2
...
...
@@ -165,6 +165,8 @@ IDLE
Tests
-----
- Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta.
- Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns
EWOULDBLOCK on Windows or VMs hosted on Windows.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment