[Python-checkins] cpython (3.2): Fix typo and case in a recently added test

eric.araujo python-checkins at python.org
Thu Oct 6 13:24:11 CEST 2011


http://hg.python.org/cpython/rev/bfb02edcad12
changeset:   72736:bfb02edcad12
branch:      3.2
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Oct 05 01:29:22 2011 +0200
summary:
  Fix typo and case in a recently added test

files:
  Lib/test/test_minidom.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py
--- a/Lib/test/test_minidom.py
+++ b/Lib/test/test_minidom.py
@@ -446,7 +446,7 @@
         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())

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list