]> granicus.if.org Git - python/commitdiff
Fix typo and case in a recently added test
authorÉric Araujo <merwok@netwok.org>
Tue, 4 Oct 2011 23:29:22 +0000 (01:29 +0200)
committerÉric Araujo <merwok@netwok.org>
Tue, 4 Oct 2011 23:29:22 +0000 (01:29 +0200)
Lib/test/test_minidom.py

index 5c09c46b5e565b25629ed01901faa96e99a3d9d8..126bdb15d251e57d494371ee4a511b14781b72f9 100644 (file)
@@ -446,7 +446,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())