]> granicus.if.org Git - python/commitdiff
Fix typo and case in a recently added test
authorÉric Araujo <merwok@netwok.org>
Wed, 5 Oct 2011 00:35:09 +0000 (02:35 +0200)
committerÉric Araujo <merwok@netwok.org>
Wed, 5 Oct 2011 00:35:09 +0000 (02:35 +0200)
Lib/test/test_minidom.py

index ecf05dd2e226504382a425f01a094a70c2dd4c7b..cb1c60cb26a7b6d1a47a324d48071652d337be94 100644 (file)
@@ -439,7 +439,7 @@ class MinidomTest(unittest.TestCase):
         dom.unlink()
         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>'
         dom = parseString(str)
         dom2 = parseString(dom.toprettyxml())