mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
expunge the xmlcore changes:
41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611
This commit is contained in:
parent
c032ee939b
commit
fbdeaad069
31 changed files with 253 additions and 250 deletions
|
|
@ -1,10 +1,10 @@
|
|||
# xmlcore.etree test for cElementTree
|
||||
# xml.etree test for cElementTree
|
||||
|
||||
import doctest, sys
|
||||
|
||||
from test import test_support
|
||||
|
||||
from xmlcore.etree import cElementTree as ET
|
||||
from xml.etree import cElementTree as ET
|
||||
|
||||
SAMPLE_XML = """
|
||||
<body>
|
||||
|
|
@ -30,7 +30,7 @@ def sanity():
|
|||
"""
|
||||
Import sanity.
|
||||
|
||||
>>> from xmlcore.etree import cElementTree
|
||||
>>> from xml.etree import cElementTree
|
||||
"""
|
||||
|
||||
def check_method(method):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue