[Python-checkins] r50941 - in python/trunk: Doc/lib/markup.tex Doc/whatsnew/whatsnew25.tex Lib/test/test_minidom.py Lib/test/test_sax.py Lib/test/test_xml_etree.py Lib/test/test_xml_etree_c.py Lib/xml Lib/xml.py Lib/xml/dom Lib/xml/dom/expatbuild
Neal Norwitz
nnorwitz at gmail.com
Sat Jul 29 19:56:43 CEST 2006
Thanks Fred!
One question:
On 7/29/06, fred.drake <python-checkins at python.org> wrote:
> Modified: python/trunk/Lib/test/test_xml_etree.py
> ==============================================================================
> --- python/trunk/Lib/test/test_xml_etree.py (original)
> +++ python/trunk/Lib/test/test_xml_etree.py Sat Jul 29 18:56:15 2006
> @@ -195,19 +199,6 @@
> 'body'
> """
>
> -def check_encoding(encoding):
> - """
> - >>> check_encoding("ascii")
> - >>> check_encoding("us-ascii")
> - >>> check_encoding("iso-8859-1")
> - >>> check_encoding("iso-8859-15")
> - >>> check_encoding("cp437")
> - >>> check_encoding("mac-roman")
> - """
> - ET.XML(
> - "<?xml version='1.0' encoding='%s'?><xml />" % encoding
> - )
> -
> #
> # xinclude tests (samples from appendix C of the xinclude specification)
>
I didn't see the reason this part was removed. Was it intentional or a mistake?
n
More information about the Python-checkins
mailing list