mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo and case in a recently added test
This commit is contained in:
parent
58a9153c9f
commit
63ba97b586
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ class MinidomTest(unittest.TestCase):
|
||||||
dom.unlink()
|
dom.unlink()
|
||||||
self.confirm(domstr == str.replace("\n", "\r\n"))
|
self.confirm(domstr == str.replace("\n", "\r\n"))
|
||||||
|
|
||||||
def test_toPrettyXML_perserves_content_of_text_node(self):
|
def test_toprettyxml_preserves_content_of_text_node(self):
|
||||||
str = '<A>B</A>'
|
str = '<A>B</A>'
|
||||||
dom = parseString(str)
|
dom = parseString(str)
|
||||||
dom2 = parseString(dom.toprettyxml())
|
dom2 = parseString(dom.toprettyxml())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue