%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_xml_etree.pyc

ó
Nêáac@süddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZ
ddlmZmZmZmZddlmZeaedddƒZedddƒZed	ddƒZd
ZdZdZd
ZdZd„Z dej!fd„ƒYZ"e#d„Z$d„Z%d„Z&d„Z'd„Z(dej!fd„ƒYZ)iZ*de*d<de*d<de*d<de*d <d!e*d"<d#e*d$<d%e*d&<d'e*d(<d)j+ej,ee#ƒƒe*d*<iZ-d+e-d,<d-e-d.<d/ej!fd0„ƒYZ.d1ej!fd2„ƒYZ/d3ej!fd4„ƒYZ0d5ej!fd6„ƒYZ1d7e2fd8„ƒYZ3d9e2fd:„ƒYZ4d;ej!fd<„ƒYZ5d=ej!fd>„ƒYZ6d?ej!fd@„ƒYZ7dAej!fdB„ƒYZ8dCej!fdD„ƒYZ9dEej!fdF„ƒYZ:dGej!fdH„ƒYZ;dIej!fdJ„ƒYZ<dKej!fdL„ƒYZ=dMej!fdN„ƒYZ>dOej!fdP„ƒYZ?dQej!fdR„ƒYZ@edS„ZAeBdTkrøeAƒndS(UiÿÿÿÿN(ttest_support(tTESTFNtfindfilet
gc_collectt	swap_attr(tElementTrees
simple.xmltsubdirtxmltestdatas
simple-ns.xmlsexpat224_utf8_bug.xmls„<body>
  <tag class='a'>text</tag>
  <tag class='b' />
  <section>
    <tag class='b' id='inner'>subtext</tag>
  </section>
</body>
sz<section>
  <tag class='b' id='inner'>subtext</tag>
  <nexttag />
  <nextsection>
    <tag />
  </nextsection>
</section>
sy
<body xmlns="http://effbot.org/ns">
  <tag>text</tag>
  <tag />
  <section>
    <tag>subtext</tag>
  </section>
</body>
sø
<root>
<h:table xmlns:h="hello">
  <h:tr>
    <h:td>Apples</h:td>
    <h:td>Bananas</h:td>
  </h:tr>
</h:table>

<f:table xmlns:f="foo">
  <f:name>African Coffee Table</f:name>
  <f:width>80</f:width>
  <f:length>120</f:length>
</f:table>
</root>
sy<!DOCTYPE points [
<!ENTITY % user-entities SYSTEM 'user-entities.xml'>
%user-entities;
]>
<document>&entity;</document>
cs‡fd†}|S(Ncs&‡‡fd†}tj|ˆƒ|S(Ncs'tjˆŒˆ||ŽWdQXdS(N(tsupporttcheck_warnings(targstkwargs(tfiltersttest(s//usr/local/lib/python2.7/test/test_xml_etree.pytnewtest]s(t	functoolstupdate_wrapper(R
R(R(R
s//usr/local/lib/python2.7/test/test_xml_etree.pyt	decorator\s((RR((Rs//usr/local/lib/python2.7/test/test_xml_etree.pyt
checkwarnings[st
ModuleTestcBseZd„ZRS(cCs4ddlm}ddlm}ddlm}dS(Niÿÿÿÿ(R(tElementInclude(tElementPath(t	xml.etreeRRR(tselfRRR((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_sanityhs(t__name__t
__module__R(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRescKsPtjƒ}tj|ƒ}|j|||r;|jƒS|jdƒ|SdS(Ni(tStringIOtETRtwritetgetvaluetseek(telemt	to_stringtoptionstfilettree((s//usr/local/lib/python2.7/test/test_xml_etree.pyt	serializeps

cCsg|D]}|j^qS(N(ttag(tseqR ((s//usr/local/lib/python2.7/test/test_xml_etree.pytsummarize_listzscCscx\|jƒD]N}|jr7|jjddƒ|_n|jr
|jjddƒ|_q
q
WdS(Ns
s
(titerttexttreplacettail(R$R ((s//usr/local/lib/python2.7/test/test_xml_etree.pytnormalize_crlf}s
		cs‡fd†}|S(Ncs(ttk	rtjdƒ‚nˆ|ŒS(Nsonly for the Python version(RtpyETtunittesttSkipTest(R
(R
(s//usr/local/lib/python2.7/test/test_xml_etree.pytwrapper…s((R
R1((R
s//usr/local/lib/python2.7/test/test_xml_etree.pytpython_only„scs‡fd†}|S(Ncs(ttkrtjdƒ‚nˆ|ŒS(Nsonly for the C version(RR.R/R0(R
(R
(s//usr/local/lib/python2.7/test/test_xml_etree.pyR1Œs((R
R1((R
s//usr/local/lib/python2.7/test/test_xml_etree.pytcet_only‹stElementTreeTestcBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zedeeffƒd„ƒZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs|jt|ƒ|ƒdS(N(tassertEqualR%(RR texpected((s//usr/local/lib/python2.7/test/test_xml_etree.pytserialize_check—scsp‡fd†‰‡fd†‰‡‡‡‡fd†‰tjdƒ}ˆ|ƒtj|ƒ}ˆ|jƒƒtjdddƒ}tj|ƒ}ˆjt|ƒdƒtjdddƒ}‡fd	†‰ˆ|jƒˆ|jƒˆ|jƒˆ|j	ƒˆ|j
ƒˆ|jƒˆ|jƒˆ|j
ƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒˆ|jƒ‡fd
†}||jdƒƒ||jdƒƒ||jdƒƒ||jdƒƒ||jdƒƒ||jdƒƒˆjtjtjƒˆjtjtjƒˆjtjtjƒdS(Ncs[t|ƒx.|D]&}ˆjt|ƒddd|ƒqW|d}|d}|d dS(Nitmsgs%expected one-character string, got %rtt i(tlenR5(tstringtchart
new_string(R(s//usr/local/lib/python2.7/test/test_xml_etree.pytcheck_strings



csmt|ƒ|jƒ}|jƒ}x|D]}||}q)Wd|d<ˆj|dddd|dƒdS(NtvaluetkeyR8sexpected value string, got %r(R;tkeystitemsR5(tmappingRBRCRAtitem(R(s//usr/local/lib/python2.7/test/test_xml_etree.pyt
check_mapping¦s


csˆjtj|ƒddƒˆjt|dƒddƒˆjt|dƒddƒˆjt|dƒddƒˆjt|d	ƒdd
ƒˆ|jƒˆ|jƒ|jdk	rň|jƒn|jdk	räˆ|jƒnx|D]}ˆ|ƒqëWdS(NR8snot an elementR&s
no tag membertattribsno attrib memberR*sno text memberR,sno tail member(	t
assertTrueRt	iselementthasattrR&RGR*tNoneR,(telementR (t
check_elementRFR?R(s//usr/local/lib/python2.7/test/test_xml_etree.pyRM°s


R&stägRAR@s^<Element 't\\xe4g' at 0x.*>$cs$ˆjt|dƒdd|ƒdS(Nt__call__R8s%s not callable(RHRJ(tmethod(R(s//usr/local/lib/python2.7/test/test_xml_etree.pytcheck_methodËscsˆ|jƒdS(N(tnext(tit(RP(s//usr/local/lib/python2.7/test/test_xml_etree.pyt
check_iterãst*(RtElementRtgetroottassertRegexpMatchestreprtappendtextendtinserttremovetgetchildrentfindtiterfindtfindalltfindtexttcleartgettsetRBRCR)titertexttgetiteratorR5tXMLt
fromstringtPItProcessingInstructiont	XMLParsertXMLTreeBuilder(RRLR$RS((RMRFRPR?Rs//usr/local/lib/python2.7/test/test_xml_etree.pyttest_interfacešsN	


















cCsqtjdƒ}|j|jdƒd|_|j|jdƒd|_|j|jdƒ|j|jƒd|_|j|jdƒd|_|j|jdƒ|j|jƒd|_|j|jdƒd|_|j|jdƒ|j|jiƒidd	6d
d6|_|j|jidd	6d
d6ƒidd
6dd6|_|j|jidd
6dd6ƒdS(NR&tTagtTAGtTexttTEXTtTailtTAILtbtatdtctBtAtDtC(RRUR5R&tassertIsNoneR*R,RG(RRL((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_set_attributeós*						!cCsStjdƒ}|j|dƒtjdƒ}|j|ƒ|j|dƒ|j|ƒ|j|dƒ|jd|ƒ|j|dƒ|j|ƒ|j|gƒ|j|dƒ|j|ƒtjddd	ƒ}|j|d
ƒtjdƒ}|j|ƒ|j|dƒ|jd|ƒ|j|d
ƒ|j|ƒ|j|dƒ|j|ƒ|j|d
ƒ|jt	ƒ}|j|ƒWdQX|j
t|jƒdƒ|j|d
ƒ|||g|dd+|j|ddƒ|j
|dd!|d|dgƒ|j
|ddd…|d|dgƒ|dd5|j|d
ƒdS(Ns<body><tag/></body>s<body><tag /></body>ttag2s<body><tag /><tag2 /></body>is<body><tag2 /><tag /></body>R&RAR@s<tag key="value" />tsubtags!<tag key="value"><subtag /></tag>s+<tag key="value"><subtag /><subtag /></tag>slist.remove(x): x not in listis
<subtag />i	i(
RRgR7RURYR\R[RZtassertRaisest
ValueErrorR5tstrt	exception(RR teRLt
subelementtcm((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_simpleopssH




	

%+
	cCsO|jtjdƒdƒ|jtjdƒdƒ|jtjdƒdƒdS(Ns<tag>hello</tag>s)<tag>&#104;&#101;&#108;&#108;&#111;</tag>s<tag><![CDATA[hello]]></tag>(R7RRg(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_cdata7scCs°tjtjdƒƒ}tjd|ƒ}|j|jdƒjdƒ|j|jdƒjdƒtjdtƒ}|j|jdƒjdƒ|j|jdƒjdƒdS(Nsutf-8R#R&ssection/tagRLselement/../empty-elements
empty-element(	Rt
SAMPLE_XMLtencodeRRR5R^R&tSIMPLE_XMLFILE(Rt
stringfileR$((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_file_initAscCsYddlm}tjtƒ}x4tdƒD]&}tj|ƒjdt|ƒƒq,Wt	|j
ƒ}x4tdƒD]&}tj|ƒjdt|ƒƒqrW|jt	|j
ƒ|ƒx4tdƒD]&}tj|ƒjdt|ƒƒqÂW|jt	|j
ƒ|ƒx4tdƒD]&}tj|ƒjdt|ƒƒqW|j
t	|j
ƒdƒdS(Niÿÿÿÿ(Ri
s./iiXiô(RRRRgR‰trangeRR^R‚R;t_cacheR5t
assertGreatert
assertLess(RRR titcache_len_10((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_path_cacheLs$$$$cCsddl}tjdƒ}|j|ƒ}|j|ƒ}d|jdƒ_|j|dƒ|j|dƒ|j|dƒdS(Niÿÿÿÿs<tag>hello<foo/></tag>tbartfoos<tag>hello<bar /></tag>s<tag>hello<foo /></tag>(tcopyRRgtdeepcopyR^R&R7(RR—te1te2te3((s//usr/local/lib/python2.7/test/test_xml_etree.pyt	test_copy[scCsþtjdƒ}|jdƒ|j|jddƒdƒ|jddƒ|j|jdƒdƒtjdddƒ}|j|jdƒdƒ|j|jidd6ƒidd6}tjd|ƒ}|jƒ|j|jdƒdƒ|j|jidd6ƒidd6}tjd|}|jƒ|j|jdƒdƒ|j|jidd6ƒtjdidd6ddƒ}|j|jdƒdƒ|j|jidd6ƒtjdƒ}d|_|jdd	ƒ|jd
dƒ|jtj|ƒdƒ|jt	|j
ƒƒdd
gƒ|jt	|jƒƒddgƒ|j|jd
dƒd
|jd
<d|jd<|jtj|ƒdƒtjdƒ}|jddƒ|jddƒ|jddƒ|jddƒ|jtj|ƒdƒdS(NR&RAtdefaultR@totherR
taattestattestvalttestbttest2s-<test testa="testval" testb="test2">aa</test>ttest1ttestcs;<test testa="testval" testb="test1" testc="test2">aa</test>Rus
Rts
Rws	

 Rvs

s5<test a="
" b="
&#10;" c="	&#10;
 " d="&#10;&#10;" />(R R¡(R¢R£(RRURcR5RdRGRbR*ttostringtsortedRBRC(RR RG((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_attribgsT




	"


cCsütjdƒ}idd6}|jd|ƒ}|j|j|ddƒ|j|ƒ|j|dƒ|jƒ|j|dƒ|j|ƒ|j|dƒ|j||gƒ|j|d	ƒ|g|(|j|dƒt	|gƒ|(|j|dƒdS(
NR&R@RARR8sattrib aliasings!<tag><subtag key="value" /></tag>s<tag />sM<tag><subtag key="value" /><subtag key="value" /><subtag key="value" /></tag>(
RRUtmakeelementtassertIsNotRGRYR7RbRZttuple(RR RGtsubelem((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_makeelementœs"



	
cCsgtjtƒ}t|ƒtjƒ}|j|ƒ|j|jƒdƒtjtƒ}t|ƒtjƒ}|j|ƒ|j|jƒdƒt	tƒ}|j
ƒ}WdQXtjƒ}|j|j
dƒ|j|ƒ|j|jƒdƒtjƒ}|j|ƒ|j|jƒdƒtjƒ}tjd|ƒ}|j|ƒ|j|jƒdƒdS(Nsi<root>
   <element key="value">text</element>
   <element>text</element>tail
   <empty-element />
</root>s›<ns0:root xmlns:ns0="namespace">
   <ns0:element key="value">text</ns0:element>
   <ns0:element>text</ns0:element>tail
   <ns0:empty-element />
</ns0:root>s^Expat ttarget(RtparseR‹R-RRR5RtSIMPLE_NS_XMLFILEtopentreadRkRWtversiontfeedR7tcloseRltTreeBuilder(RR$tstreamtftdatatparserR®((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_parsefile²s8






cCs6tjdƒ}|jtj|ƒdƒtjdƒ}|jtj|ƒdƒdddg}tj|ƒ}|jtj|ƒdƒ|jdjtj|ƒƒdƒ|jtj|dƒdƒtjdƒ\}}|jt	|ƒdƒtjd	ƒ\}}|jt	|ƒd
ƒ|j|dj
dƒdS(Ns<html><body>text</body></html>s<html><body>stext</bos
dy></html>R9tasciisE<?xml version='1.0' encoding='ascii'?>
<html><body>text</body></html>is(<html><body id='body'>text</body></html>itbody(RRgR5R¦RhtfromstringlisttjointtostringlisttXMLIDR;R&(RRLtsequencet_tids((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_parseliteralês&c
Cstj}|tƒ}t|ƒ\}}|j||jfdƒ|jg|D]\}}||jf^qMdddgƒ|j|jjdƒ|tƒ}|jg|D]\}}||jf^qªdddd gƒd!}|t|ƒ}|jg|D]\}}||jf^qýgƒd"}|td|ƒ}|jg|D]\}}||jf^qGgƒd#}|t|ƒ}|jg|D]\}}||jf^qŽd$d%d&d'd(d)d*d+gƒd,}|t|ƒ}|jg|D]3\}}|d-kr||jfn	||f^qíd
d.fd/d0d1d2d3d4d5d6d7g
ƒd8}|t	j	dƒ|ƒ}g|D]\}}||f^qs}|j|d
d9fd:gƒd;}t
tdƒ<}|jtƒ}|||ƒWdQX|j
|jƒWdQX|jt|jƒdƒt	j	dƒ}	d<}||	|ƒ}|jg|D]\}}||f^qJd
d=fd
d>fgƒt	j	dƒ}	||	ƒ}
t|
ƒ\}}|j||jfd?ƒ|jtjƒ}t|
ƒWdQX|jt|jƒdƒdS(@NtendRLs
empty-elementtroots{namespace}elements{namespace}empty-elements{namespace}rootteventststartsstart-nssend-nsR9t	namespaces<root xmlns=''/>tbogustrbsunknown event 'bogus's‡<?xml version='1.0' encoding='iso-8859-1'?>
<body xmlns='http://&#233;ffbot.org/ns'
      xmlns:clé='http://effbot.org/ns'>text</body>
uhttp://éffbot.org/nsucléshttp://effbot.org/nss<document />junktdocuments.junk after document element: line 1, column 12(RÆRL(RÆRL(RÆs
empty-element(RÆRÇ(RÆs{namespace}element(RÆs{namespace}element(RÆs{namespace}empty-element(RÆs{namespace}root(((RÉRÆ(RÉRÇ(RÉRL(RÆRL(RÉRL(RÆRL(RÉs
empty-element(RÆs
empty-element(RÆRÇ(RÉRÆsstart-nssend-ns(RÉRÆ(R9RÊ(RÉs{namespace}root(RÉs{namespace}element(RÆs{namespace}element(RÉs{namespace}element(RÆs{namespace}element(RÉs{namespace}empty-element(RÆs{namespace}empty-element(RÆs{namespace}root(send-nsN(sstart-nssend-ns(R9R9(send-nsN(RÉRÆRË(sstart-ns(R9uhttp://éffbot.org/ns(ucléshttp://effbot.org/ns(RÆRÍ(Rt	iterparseR‹RQR5R&RÇR°RKRR±R€RtassertFalsetclosedR‚Rƒt
ParseError(RRÎtcontexttactionR RÈtresR¸R†tsourceRR((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_iterparsesŽ	+
+
22+
	:	
%	(	cCs¹tjdƒ}d|_|j|dƒdtj|dƒ_|j|dƒd|_|j|dƒ|jdtjd	ƒƒ|j|d
ƒtj	ddƒ|d<|j|d
ƒdS(NR&R*s<tag>text</tag>tsubtextRs'<tag>text<subtag>subtext</subtag></tag>stext<subtag>subtext</subtag>itcomments*text<!--comment--><subtag>subtext</subtag>RAR@s)text<?key value?><subtag>subtext</subtag>(
RRUR*R7t
SubElementRKR&R[tCommentRi(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_writefile]s			cCsttƒ}|jƒ}WdQXdtfd„ƒY}|ƒ}tjd|ƒ}|j|ƒ|j|ddddddddgƒttƒ}|jƒ}WdQXdtfd	„ƒY}|ƒ}tjd|ƒ}|j|ƒ|j|dddddddd d!d"g
ƒdS(#NtBuildercBs#eZd„Zd„Zd„ZRS(cSs|jd|fƒdS(NRÉ(RY(RR&RG((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÉtscSs|jd|fƒdS(NRÆ(RY(RR&((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÆvscSsdS(N((RR*((s//usr/local/lib/python2.7/test/test_xml_etree.pyR¹xs(RRRÉRÆR¹(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÜss		R®RÉRÇRLRÆs
empty-elementcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cSs|jd|fƒdS(NRÉ(RY(RR&RG((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÉ‹scSs|jd|fƒdS(NRÆ(RY(RR&((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÆscSsdS(N((RR*((s//usr/local/lib/python2.7/test/test_xml_etree.pyR¹scSs|jd||fƒdS(Ntpi(RY(RR®R¹((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÝ‘scSs|jd|fƒdS(NRØ(RY(RR¹((s//usr/local/lib/python2.7/test/test_xml_etree.pyRØ“s(RRRÉRÆR¹RÝRØ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÜŠs
				RÝR¹RØs	 comment s{namespace}roots{namespace}elements{namespace}empty-element(RÉRÇ(RÉRL(RÆRL(RÉRL(RÆRL(RÉs
empty-element(RÆs
empty-element(RÆRÇ(RÝRÝR¹(RØs	 comment (RÉs{namespace}root(RÉs{namespace}element(RÆs{namespace}element(RÉs{namespace}element(RÆs{namespace}element(RÉs{namespace}empty-element(RÆs{namespace}empty-element(RÆs{namespace}root(	R±R‹R²tlistRRkR´R5R°(RR¸R¹RÜtbuilderRº((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_custom_builderns@	
	
	
	s@This method will be removed in future versions.  Use .+ instead.cCsøttdƒ}tj|ƒ}WdQX|jg|jƒjƒD]}t|jƒƒ^q@dddgggggƒ|jg|j	ƒD]}t|jƒƒ^qŠdddgggggƒtj
tƒ}|jt|jƒƒdƒ|jt|djƒƒdƒ|j||jƒƒ|d}|d}|dd5|jt|jƒƒdƒ|j||dƒ|j||dƒ||g|dd+|j||dƒ|j||dƒ|j
||dƒ|jƒ|j|jƒgƒdS(NtrRLs
empty-elementiiii(R±R‹RR¯R5RVR)R(R]RfRgR‰R;tassertNotEqualRb(RR¸R$R tchild1tchild2((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getchildren§s<	+
	%
 



cCsTtjdƒ}|jtj|ƒdƒtjdƒ}|jtj|ƒdƒdS(Ns<html><body>text</body></html>(RRgR5R¦Rh(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_writestringÏsc?s‚d‡fd†}|ddƒ|ddƒ|ddƒ|dd	ƒ|d
dƒ|dd
ƒd„‰‡fd†}dddddddddddddddddd d!d"d
d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAddBdCdDdEdFdGdHdIdJdKg?}x6|D].}ˆjtjtj||ƒƒƒdLƒqBWdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_g}x*|D]"}ˆjttj||ƒƒqºWd`dadbdcdddedfdgdhdig
}x-|D]%}ˆjtjtj||ƒƒqWˆjttjˆdjƒjdƒƒˆjttjˆdkƒjdƒƒdS(lNR9cs9d||f}ˆjtj|j|ƒƒj|ƒdS(Ns0<?xml version='1.0' encoding='%s'?><xml>%s</xml>(R5RRgRŠR*(tencodingR½txml(R(s//usr/local/lib/python2.7/test/test_xml_etree.pytcheckÖs
R¼Rusus-asciis
iso-8859-1u½siso-8859-15u€tcp437u√s	mac-romanuËšcSsd|S(Ns*<?xml version='1.0' encoding='%s'?><xml />((Rç((s//usr/local/lib/python2.7/test/test_xml_etree.pyRèáscsˆ|ƒj|ƒS(N(RŠ(Rç(Rè(s//usr/local/lib/python2.7/test/test_xml_etree.pytbxmlãssutf-8s	utf-8-sigsutf-16sutf-16besutf-16les	iso8859-1s	iso8859-2s	iso8859-3s	iso8859-4s	iso8859-5s	iso8859-6s	iso8859-7s	iso8859-8s	iso8859-9s
iso8859-10s
iso8859-13s
iso8859-14s
iso8859-15s
iso8859-16tcp720tcp737tcp775tcp850tcp852tcp855tcp856tcp857tcp858tcp860tcp861tcp862tcp863tcp865tcp866tcp869tcp874tcp1006tcp1250tcp1251tcp1252tcp1253tcp1254tcp1255tcp1256tcp1257tcp1258smac-cyrillics	mac-greeksmac-icelands
mac-latin2smac-turkishs
iso2022-jpsiso2022-jp-1siso2022-jp-2siso2022-jp-2004siso2022-jp-3siso2022-jp-extskoi8-rskoi8-utptcp154s<xml />tbig5t	big5hkscstcp932tcp949tcp950seuc-jpseuc-jis-2004seuc-jisx0213seuc-krtgb2312tgbktgb18030s
iso2022-krtjohabthzs	shift-jissshift-jis-2004sshift-jisx0213sutf-7tcp037tcp424tcp500tcp864tcp875tcp1026tcp1140tutf_32t	utf_32_bet	utf_32_let	undefinedtxxx(	R5RR¦RgR€RRÑRŠtLookupError(RRéRëtsupported_encodingsRçt&unsupported_ascii_compatible_encodingst(unsupported_ascii_incompatible_encodings((RRès//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_encodingÕsR





			
,					
 
#%cCs¢tjdƒ}d|_|jt|ƒdƒ|jt|ddƒdƒ|jt|ddƒdƒ|jt|ddƒdƒ|jt|ddƒd	ƒdS(
Ns-<html><link/><script>1 &lt; 2</script></html>s
s/<html><link /><script>1 &lt; 2</script></html>
RORèthtmls*<html><link><script>1 < 2</script></html>
R*s1 < 2
(RRgR,R5R%RK(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_methodss	cCsEtjdƒ}|jt|ƒdƒ|jt|ddƒdƒdS(Ns(<html><CamelCase>text</CamelCase></html>ROR#(RRgR5R%(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue18347s
cCstjdƒ}|jt|ddƒdƒ|j|dƒ|jtjƒ}tjdƒWdQX|jt|jƒdƒ|jtjƒ}tjt	ƒWdQX|jt|jƒdƒtj
ƒ}d|jd	<|jt	ƒ|j
ƒ}|j|d
ƒdS(Ns*<document title='&#x8230;'>test</document>Rçsus-asciis*<document title="&#33328;">test</document>s<document>&entity;</document>s#undefined entity: line 1, column 10s,undefined entity &entity;: line 5, column 10R*tentitys<document>text</document>(RRgR5R%R7R€RÑR‚Rƒt
ENTITY_XMLRkR&R´Rµ(RR„R†RºRÇ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_entity%s"

cCsŸtjdƒ}|j|dƒtjdƒ}|j|dƒtjdƒ}|j|dƒtjdƒ}|j|dƒtjtƒ}|j|d	ƒdS(
Ns<tag xml:lang='en' />s<tag xml:lang="en" />sC<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' />sC<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />s7<html:html xmlns:html='http://www.w3.org/1999/xhtml' />s7<html:html xmlns:html="http://www.w3.org/1999/xhtml" />sG<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope' />sE<ns0:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope" />sŸ<ns0:body xmlns:ns0="http://effbot.org/ns">
  <ns0:tag>text</ns0:tag>
  <ns0:tag />
  <ns0:section>
    <ns0:tag>subtext</ns0:tag>
  </ns0:section>
</ns0:body>(RRgR7t
SAMPLE_XML_NS(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_namespaceCs				cCs›tjdƒ}|j|dƒtjtjdƒƒ}|j|dƒtjtjddƒƒ}|j|dƒtjtjddƒƒ}tj|tjddƒƒ}tj|tjddƒƒ}|j|dƒ|jƒd|jd	<|j|d
ƒ|jƒd|jtjd	ƒ<|j|d
ƒ|jƒd|jd	<|j|dƒ|jƒtjdƒ|jd	<|j|d
ƒ|jƒtjdƒ}tjdƒ|jd<|j|ƒ|j|ƒ|j|dƒ|jt	tjddƒƒdƒ|jt	tjdƒƒdƒtjddƒ}tjddƒ}|j||ƒtjddƒ}|j
||ƒ|j
|dƒ|j|dƒdS(Ns{uri}tags<ns0:tag xmlns:ns0="uri" />turiR&ttag1R~s;<ns0:tag xmlns:ns0="uri"><ns0:tag1 /><ns0:tag2 /></ns0:tag>R@s{uri}keys+<ns0:tag xmlns:ns0="uri" ns0:key="value" />s
{uri}values0<ns0:tag xmlns:ns0="uri" ns0:key="{uri}value" />s/<ns0:tag xmlns:ns0="uri" ns0:key="ns0:value" />s{uri2}values	{uri1}keys{<ns0:tag xmlns:ns0="uri" xmlns:ns1="uri1" xmlns:ns2="uri2"><tag ns1:key="ns2:value" /><tag ns1:key="ns2:value" /></ns0:tag>tnss{ns}tags	other-tagsns:tag(RRUR7tQNameRÙRbRGRYR5R‚Râ(RR R¬tq1tq2((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_qnamedsV	

	
	

	
	


	"cCstjdƒ}dS(NsŠ<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>text</html>(RRg(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_doctype_public¥scsüddlm‰‡‡fd†}|ddgƒ|dddgƒ|dd	d
gƒ|dd	dgƒ|dd
dddgƒ|dd
ddddgƒ|dddd
gƒ|dddddddddddddgƒ|dddd
gƒ|ddd
gƒ|ddddd gƒ|d!d!gƒ|d"d!dd
gƒ|d#d#gƒ|d$d#dd	d%gƒ|d&ddd'dgƒ|d(d)dd	d*d+d,d+d	d-dg
ƒ|d.d.gƒ|d/d!dd0gƒ|d1d!dd.gƒdS(2Niÿÿÿÿ(Rcs<ˆjgˆj|ƒD]\}}|p+|^q|ƒdS(N(R5txpath_tokenizer(tpR6topR&(RR(s//usr/local/lib/python2.7/test/test_xml_etree.pyRé°s	(RTstext()R*s()s@namet@tnames@*spara[1]tparat[t1t]spara[last()]tlasts*/parat/s/doc/chapter[5]/section[2]tdoctchaptert5tsectiont2s
chapter//paras//s//paras//olist/itemtolistREt.s.//paras..s../@langtlangschapter[title]ttitles#employee[@secretary and @assistant]temployeet	secretaryR9tandt	assistants{http://spam}eggs
./spam.eggsspam.eggs.//{http://spam}egg(RR(RRé((RRs//usr/local/lib/python2.7/test/test_xml_etree.pyttest_xpath_tokenizer­s2	"cCs›|jtjtjddƒƒdƒ|jtjtjddƒƒdƒ|jtjtjddƒƒdƒ|jtjtjddƒdƒdƒdS(	NR
tinstructions<?test instruction?>s
<testing&>s<?test <testing&>?>u<testing&>ãtlatin1s<<?xml version='1.0' encoding='latin1'?>
<?test <testing&>ã?>(R5RR¦RjRi(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_processinginstructionÐs!c
CsÇxÀddddddddd	d
ddd
g
D]‘}xˆ||jƒgD]t}d|}ttjd|ƒddƒ}|j||ƒttjd||fƒddƒ}|j||ƒqGWq.WdS(NtAREAtBASEtBASEFONTtBRtCOLtFRAMEtHRtIMGtINPUTtISINDEXtLINKtMETAtPARAMs<%s>s<%s />ROR#s	<%s></%s>(tlowerR%RRgR5(RRLR R6t
serialized((s//usr/local/lib/python2.7/test/test_xml_etree.pyt#test_html_empty_elems_serializationàs
	( RRR7RmR}R‡RˆRR”RœR¨R­R»RÅRÖRÛRàRtDeprecationWarningtPendingDeprecationWarningRåRæR"R$R%R(R*R1R2RKRNR^(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR4•s8		Y		)	
				5		8		]		9&		:				!	A		#	s´<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>120 Mz is adequate for an average home user.</p>
  <xi:include href="disclaimer.xml"/>
</document>
sC1.xmlsÐ<?xml version='1.0'?>
<disclaimer>
  <p>The opinions represented herein represent those of the individual
  and should not be interpreted as official policy endorsed by this
  organization.</p>
</disclaimer>
sdisclaimer.xmls¶<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>This document has been accessed
  <xi:include href="count.txt" parse="text"/> times.</p>
</document>
sC2.xmlt324387s	count.txts¿<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>This document has been <em>accessed</em>
  <xi:include href="count.txt" parse="text"/> times.</p>
</document>
sC2b.xmlsÙ<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>The following is the source of the "data.xml" resource:</p>
  <example><xi:include href="data.xml" parse="text"/></example>
</document>
sC3.xmlsQ<?xml version='1.0'?>
<data>
  <item><![CDATA[Brooks & Shields]]></item>
</data>
sdata.xmlsW<?xml version='1.0'?>
<div xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="example.txt" parse="text">
    <xi:fallback>
      <xi:include href="fallback-example.txt" parse="text">
        <xi:fallback><a href="mailto:bob@example.org">Report error</a></xi:fallback>
      </xi:include>
    </xi:fallback>
  </xi:include>
</div>
sC5.xmls„<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>Example.</p>
  <xi:include href="{}"/>
</document>
sdefault.xmlsÅ<?xml version='1.0'?>
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <p>120 Mz is adequate for an average home user.</p>
  <xi:include href="disclaimer.xml" parse="BAD_TYPE"/>
</document>
sB1.xmlsn<?xml version='1.0'?>
<div xmlns:xi="http://www.w3.org/2001/XInclude">
    <xi:fallback></xi:fallback>
</div>
sB2.xmltXIncludeTestcBs>eZddd„Zdd„Zd„Zd„Zd„ZRS(RècCsPyt|}Wntk
r-tdƒ‚nX|dkrLtj|ƒ}n|S(Nsresource not foundRè(tXINCLUDEtKeyErrortIOErrorRRg(RthrefR¯RçR¹((s//usr/local/lib/python2.7/test/test_xml_etree.pytxinclude_loaderPs
cCsdS(N(RK(RRfRºRç((s//usr/local/lib/python2.7/test/test_xml_etree.pytnone_loaderYscCsFddlm}|jdƒ}|j|ƒ|jt|ƒdƒdS(Niÿÿÿÿ(Rsdefault.xmls”<document>
  <p>Example.</p>
  <root>
   <element key="value">text</element>
   <element>text</element>tail
   <empty-element />
</root>
</document>(RRRgtincludeR5R%(RRR>((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_xinclude_default\s

cCs]ddlm}|jdƒ}|j||jƒ|jt|ƒdƒ|jdƒ}|j||jƒ|jt|ƒdƒ|jdƒ}|j||jƒ|jt|ƒdƒ|jd	ƒ}|j||jƒ|jt|ƒd
ƒ|jdƒ}|jtƒ}|j||jƒWdQX|jt|j	ƒdƒ|jt|ƒd
ƒdS(Niÿÿÿÿ(RsC1.xmls<document>
  <p>120 Mz is adequate for an average home user.</p>
  <disclaimer>
  <p>The opinions represented herein represent those of the individual
  and should not be interpreted as official policy endorsed by this
  organization.</p>
</disclaimer>
</document>sC2.xmlsO<document>
  <p>This document has been accessed
  324387 times.</p>
</document>sC2b.xmlsX<document>
  <p>This document has been <em>accessed</em>
  324387 times.</p>
</document>sC3.xmlsæ<document>
  <p>The following is the source of the "data.xml" resource:</p>
  <example>&lt;?xml version='1.0'?&gt;
&lt;data&gt;
  &lt;item&gt;&lt;![CDATA[Brooks &amp; Shields]]&gt;&lt;/item&gt;
&lt;/data&gt;
</example>
</document>sC5.xmlsresource not foundsI<div xmlns:ns0="http://www.w3.org/2001/XInclude">
  <ns0:include href="example.txt" parse="text">
    <ns0:fallback>
      <ns0:include href="fallback-example.txt" parse="text">
        <ns0:fallback><a href="mailto:bob@example.org">Report error</a></ns0:fallback>
      </ns0:include>
    </ns0:fallback>
  </ns0:include>
</div>(
RRRgRiR5R%R€ReR‚Rƒ(RRRÍR†((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_xincludejs.
cCsˆddlm}tjtdƒ}|j|jƒ}|j|d|jƒWdQX|j	t
|jƒdƒtjtdƒ}|j|jƒ}|j|d|jƒWdQX|j	t
|jƒdƒtjtdƒ}|j|jƒ}|j|d|jƒWdQX|j	t
|jƒd	ƒtjtd
ƒ}|j|jƒ}|j|d|jƒWdQX|j	t
|jƒdƒdS(Niÿÿÿÿ(RsC1.xmltloaders%cannot load 'disclaimer.xml' as 'xml'sC2.xmls!cannot load 'count.txt' as 'text'sB1.xmls1unknown parse type in xi:include tag ('BAD_TYPE')sB2.xmlsYxi:fallback tag must be child of xi:include ('{http://www.w3.org/2001/XInclude}fallback')(
RRRRgRcR€tFatalIncludeErrorRiRhR5R‚RƒtXINCLUDE_BAD(RRRÍR†((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_xinclude_failuresªs*N(RRRKRgRhRjRkRo(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRbNs
			@tBugsTestcBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
eje
jƒd	ƒd
„ƒZd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cs‡fd†}tjdƒ}||ƒtjdƒ}d|_||ƒtjdƒ}d|_||ƒtjdƒ}|jddƒ||ƒtjdƒ}|jddƒ||ƒdS(Ncs?ˆjtƒ}t|ƒWdQXˆjt|jƒdƒdS(Nscannot serialize 123 (type int)(R€t	TypeErrorR%R5R‚Rƒ(R R†(R(s//usr/local/lib/python2.7/test/test_xml_etree.pyRéÒsi{R t123(RRUR*R,Rd(RRéR ((Rs//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit21Ïs
	
	

cCsTtjtƒ}tj|ƒ}|j|jdƒdƒ|j|jdƒdƒdS(NR&R*ssection/tagR×(RRgR‰RR5Ra(RR R$((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit25ëscCsTtjdƒ}|jt|jdƒƒgƒ|jt|jdƒƒdgƒdS(Ns"<doc><table><tbody/></table></doc>s.//theads.//tbodyttbody(RRgR5R(R`(RR$((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit28óscCsKtjdƒ}tjƒ*}tj|ƒ|j|jƒdƒWdQXdS(Ns"<doc><table><tbody/></table></doc>s$<doc><table><tbody /></table></doc>
(RRgRtcaptured_stdouttdumpR5R(RR$tstdout((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkitX1ús
cCstjdƒ}|jtj|dƒdƒtjdƒ}|j|jidd6ƒ|jtj|dƒdƒtjdƒ}|jtj|dƒd	ƒtjd
ƒ}|jtj|dƒdƒtjdƒ}|jddƒ|jtj|dƒdƒdS(Ns2<?xml version='1.0' encoding='iso-8859-1'?><täg />sutf-8s<täg />sD<?xml version='1.0' encoding='iso-8859-1'?><tag ättr='v&#228;lue' />uvälueuättrs<tag ättr="välue" />s:<?xml version='1.0' encoding='iso-8859-1'?><täg>text</täg>s<täg>text</täg>utägR&(RRgR5R¦RGRURd(RR$((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit39scCs)tjdƒ}|jt|ƒdƒdS(Ns=<!DOCTYPE doc [<!ENTITY ldots '&#x8230;'>]><doc>&ldots;</doc>s<doc>&#33328;</doc>(RRgR5R%(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit54scCsE|jtjƒ}tjdƒWdQX|jt|jƒdƒdS(Ns?<!DOCTYPE doc SYSTEM 'doc.dtd'><doc>&ldots;&ndots;&rdots;</doc>s+undefined entity &ldots;: line 1, column 36(R€RRÑRgR5R‚Rƒ(RR†((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit55"scCs0ddd„ƒY}|jttj|ƒƒdS(Nt
ExceptionFilecBseZd„ZRS(cSs
t‚dS(N(Re(Rtx((s//usr/local/lib/python2.7/test/test_xml_etree.pyR²/s(RRR²(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR~.s((R€ReRR¯(RR~((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit60+scCsiidd6dd6}tjƒ}|jj|ƒ|jdƒ|jƒ}|j|jdƒjdƒdS(Nu’ursquou‘ulsquosF<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE patent-application-publication SYSTEM "pap-v15-2001-01-31.dtd" []>
<patent-application-publication>
<subdoc-abstract>
<paragraph id="A-0001" lvl="0">A new cultivar of Begonia plant named &lsquo;BCT9801BEG&rsquo;.</paragraph>
</subdoc-abstract>
</patent-application-publication>s.//paragraphu7A new cultivar of Begonia plant named ‘BCT9801BEG’.(	RRlR&tupdateR´RµR5R^R*(RtENTITIESRºtt((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit624ssSkips under coverage.cCsZd„}|ƒtjdƒ}xtdƒD]
}|ƒq,W|jtjdƒ|ƒdS(NcSs:tjƒ}|jdiƒ|jdƒ|jdƒdS(NR&R*(RR¶RÉR¹RÆ(R$((s//usr/local/lib/python2.7/test/test_xml_etree.pytxmltoolkit63Hs
iè(tsystgetrefcountRKRŽR5(RR…tcountR’((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_xmltoolkit63Es	cCsˆtjdddƒ}|jtj|ƒdƒ|jtjtj|ƒƒjdƒdƒ|jtjtjtj|ƒƒƒdƒdS(NtSomeTagR*sdef _f():
  return 3
s0<SomeTag text="def _f():&#10;  return 3&#10;" />(RRUR5R¦RgRc(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_200708_newlineTs$$cCs„tjƒ}|jdƒ|j|jƒjdƒddd„ƒY}tjd|ƒƒ}|jdƒ|j|jƒjdƒdS(Ns<element>some text</element>RLt
EchoTargetcBs,eZd„Zd„Zd„Zd„ZRS(cSsdS(N((RR&RG((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÉgscSsdS(N((RR&((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÆiscSsdS(N((RR*((s//usr/local/lib/python2.7/test/test_xml_etree.pyR¹kscSs
tjdƒS(NRL(RRU(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRµms(RRRÉRÆR¹Rµ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRŒfs			R®((RRkR´R5RµR&(RRºRŒ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_200708_close_s
	
cCstjdƒ}tj|dƒ}|jt|ddƒdƒtjdƒ}tj|dƒ}tj|dƒ}|jt|ddƒdƒtjdƒ}tj|dƒ}tj|dƒ}|jtƒ}t|ddƒWdQX|jt|jƒdƒdS(	Ns
{default}elemtdefault_namespaceRs%<elem xmlns="default"><elem /></elem>s{not-default}elemsI<elem xmlns="default" xmlns:ns1="not-default"><elem /><ns1:elem /></elem>R s<cannot use non-qualified names with default_namespace option(	RRURÙR5R%R€RR‚Rƒ(RR„tsR†((s//usr/local/lib/python2.7/test/test_xml_etree.pyt!test_bug_200709_default_namespacess cCsŒtjdƒ}|jtj|ƒdƒtjddƒtjdƒ}|jtj|ƒdƒtjdƒ}|jtj|ƒdƒdS(Ns/{http://namespace.invalid/does/not/exist/}titlesB<ns0:title xmlns:ns0="http://namespace.invalid/does/not/exist/" />R–s(http://namespace.invalid/does/not/exist/sB<foo:title xmlns:foo="http://namespace.invalid/does/not/exist/" />s'{http://purl.org/dc/elements/1.1/}titles8<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/" />(RRUR5R¦tregister_namespace(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt"test_bug_200709_register_namespaceŠscCs‚tjdƒ}|jtjdƒƒ|j|djtjƒtjdƒ}|jtjdƒƒ|j|djtjƒdS(NRuR–i(RRURYRÚR5R&Ri(RRu((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_200709_element_comment™scCs§tjdƒ}tj|dƒ}tj|dƒ}tjdƒ}|jd|ƒ|jt|ƒdddgƒ|jd|ƒ|jt|ƒddddgƒdS(NRuRtRwRviiÿÿÿÿ(RRURÙR[R5R((RRuRtRwRv((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_200709_element_insert¥scCsitjdƒ}tj|dƒ}tjdƒ}|j|ƒ|jt|jtjƒƒtjgƒdS(NRuRtsTEST-b(RRURÙRÚRYR5R(R)(RRuRtt	comment_b((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_200709_iter_comment¯s

cCsbtjƒ}|jdƒ}|jdiƒ}|jdƒ}|jƒ}|jt|ƒdƒdS(NR¹R&s<tag />(RR¶R¹RÉRÆRµR5R%(RtbobR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_bug_1534630¹scCsZtjdƒ}|jtj|dƒdƒtjdƒ}|jtj|dƒdƒdS(Ns7<?xml version='1.0' encoding='utf-8'?><body>tãg</body>R¼s<<?xml version='1.0' encoding='ascii'?>
<body>t&#227;g</body>s;<?xml version='1.0' encoding='iso-8859-1'?><body>tãg</body>(RRgR5R¦(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue6233ÁscCsNtjdƒ}|j|jdƒtj|ƒ}|jtj|ƒdƒdS(Ns+<prefix:localname xmlns:prefix="${stuff}"/>s{${stuff}}localnames&<ns0:localname xmlns:ns0="${stuff}" />(RRgR5R&RR¦(RR„Rƒ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue3151ÍscCsbtjdƒ}|jt|ƒdgƒtjtƒ}||(|jt|ƒdddgƒdS(Ns<body><tag/></body>R&RA(RRgR5R(R‰(RR tnewelem((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue6565Ós
cCs$tjddƒtjddƒdS(Nt	test10777s
http://myuri/(RR‘(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue10777ÚscCs?d|}tj|ƒ}|j|jdƒ|jdƒƒdS(Ns<a b="%s"/>Rtsutf-8(RRgR5Rctdecode(RR*RèRÇ((s//usr/local/lib/python2.7/test/test_xml_etree.pytcheck_expat224_utf8_bugás
cCs6dd}|j|ƒddd}|j|ƒdS(NsàiR(R (RR*((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_expat224_utf8_bugæs

cCs“ttdƒ}|jƒ}WdQXtj|ƒ}|jdƒ}|jdƒjƒ}|jddƒ}|dd!}|j	|jdƒ|ƒdS(NRÌRtsutf-8s
R:iiüÿÿÿ(
R±tUTF8_BUG_XMLFILER²RRhRcRŸtstripR+R5(RtfptrawRÇtxmlattrR*((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_expat224_utf8_bug_fileòs
(RRRsRtRvRzR{R|R}R€R„R/tskipIfR†tgettraceR‰R‹RRR’R“R”R–R˜R™RšRœRžR R¡R§(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRpÍs2											!						
	
							tBasicElementTestcBs5eZed„ƒZed„ƒZed„ƒZRS(cCsLdd	d„ƒY}|ƒ}tjdd|ƒ|_tj|ƒ}~tƒ|j|ƒƒtjdƒ}|ƒ}||_tj|ƒ}tj|dd|ƒ}~~~tƒ|j|ƒƒtjdƒ}tjdƒ}tjdƒ}|j|ƒ|j|ƒ|j|ƒtj|ƒ}~~~tƒ|j|ƒƒdS(
NtDummycBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR«stjoetattrR–R™RšR›((	RRUtdummyreftweakreftrefRR|RÙRY(RR«RvtwrefR„RšR™R›((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_cyclic_gcs2				


	csyg‰‡fd†}tjdƒ}tj||ƒ}|j|ƒjdƒ~|jˆtgƒ|j|ƒdƒdS(NcsˆjtƒdS(N(RYtTrue(tw(tflag(s//usr/local/lib/python2.7/test/test_xml_etree.pytwref_cb+sR„(RRUR¯R°R5R&R³RK(RR¶R„R±((Rµs//usr/local/lib/python2.7/test/test_xml_etree.pyttest_weakref(scCsctjdddddddƒ}|j|jddd	ƒdƒ|j|jd
dd	ƒd	ƒdS(NR–RityitziRiR´(RRUR5Rc(RR™((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_get_keyword_args4s!(RRR2R²R·Rº(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRªs$tBadElementTestcBs_eZd„Zd„Zed„ƒZd„Zd„Zd„Zd„Z	d„Z
d„ZRS(	cs¶dtf‡fd†ƒY}|ƒg‰tjdƒ}y|jˆƒWntk
r[nXttkr²d|tjfd„ƒY}|dƒg‰tjdƒ}|jˆƒndS(NtXcseZe‡fd†ƒZRS(cstjdƒgˆ(tjS(Ntbaz(RRU(R(tL(s//usr/local/lib/python2.7/test/test_xml_etree.pyt	__class__>s(RRtpropertyR¿((R¾(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼=sR–tYcBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÁJsR(tobjectRRURZRqR.(RR¼R„RÁ((R¾s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_extend_mutable_list<s
csÎdtf‡fd†ƒY}|ƒtjdƒg‰tjdƒ}y|jˆƒWntk
rgnXttkrÊd|tjfd„ƒY}|dƒtjdƒg‰tjdƒ}|jˆƒndS(NR¼cseZe‡fd†ƒZRS(csˆ2tjS(N(RRU(R(R¾(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¿Rs(RRRÀR¿((R¾(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼QsR½R–RÁcBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÁ^sR•(RÂRRURZRqR.(RR¼R„RÁ((R¾s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_extend_mutable_list2Ps
cs«dtjf‡fd†ƒY}tjdƒ‰ˆj|dƒgƒ|jtˆjtjdƒƒtjdƒ‰ˆjtjdƒgƒ|jtˆj|dƒƒdS(NR¼cs eZ‡fd†ZejZRS(csˆ2tS(N(tFalse(Rto(R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyt__eq__gs(RRRÇRÂt__hash__((R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼fsR–R•R½(RRURZR€RR\(RR¼((R„s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_remove_with_mutatingdsc
CsLtjdƒ}t|d|ƒ%|jtƒt|ƒWdQXWdQXdS(NR–R&(RRURR€tRuntimeErrorRX(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_recursive_reprsscs•dtf‡fd†ƒY}tjƒ}|jdiƒ|jdƒ|j|dƒƒ|jdƒ|jdƒ|jƒ‰|jˆjdƒdS(NR¼cseZ‡fd†ZRS(cs#yˆjWntk
rnXdS(N(R*t	NameError(R(R (s//usr/local/lib/python2.7/test/test_xml_etree.pyt__del__}s
(RRRÍ((R (s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼|sR&tABCDtEFGHtIJKLtABCDEFGHIJKL(	R‚RR¶RÉR¹RÆRµR5R*(RR¼Rt((R s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_element_get_textzs


cs¶dtf‡fd†ƒY}tjƒ}|jdiƒ|jdiƒ|jdƒ|jdƒ|j|dƒƒ|jdƒ|jdƒ|jƒ‰|jˆdjd	ƒdS(
NR¼cseZ‡fd†ZRS(cs'yˆdjWntk
r"nXdS(Ni(R,RÌ(R(R (s//usr/local/lib/python2.7/test/test_xml_etree.pyRÍs
(RRRÍ((R (s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼sRÇR&RÎRÏRÐiRÑ(	R‚RR¶RÉRÆR¹RµR5R,(RR¼Rt((R s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_element_get_tails



cCs^tjdƒ}|jdgƒ|jƒ}|jt|ƒ|ƒ|jtt	ft
|ƒdS(NR&(RRURZRKR)tassertIsRQR€tAttributeErrorRqRÞ(RR„RR((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_element_iter¢s
cswdd‡fd†ƒY}tjdƒ‰ˆjtjdƒƒˆ|ƒ ˆjtjdƒƒˆdd|ƒ…dS(NR¼cseZ‡fd†ZRS(csˆ2dS(Ni((R(R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyt	__index__®s(RRR×((R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼­sR tchildii
((RRURY(RR¼((R„s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_subscr«scsrdd‡fd†ƒY}tjdƒ‰x-tdƒD]}ˆjdtjdƒƒq5Wgˆdd|ƒ…<dS(NR¼cseZ‡fd†ZRS(csgˆ(dS(Ni((R(R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR×¼s(RRR×((R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR¼»sR i
iRØ((RRURŽR[(RR¼RÃ((R„s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_ass_subscr¹s
(RRRÃRÄR2RÉRËRÒRÓRÖRÙRÚ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR»;s								tMutatingElementPathcBs#eZd„Zd„ZejZRS(cGstj||Œ}||_|S(N(R‚t__new__R (tclsR R
R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÜÈs	cCs|j2tS(N(R R³(RRÆ((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÇÌs(RRRÜRÇR‚RÈ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÛÇs		tBadElementPathcBseZd„ZejZRS(cCsdd‚dS(Ngð?g((RRÆ((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÇÒs(RRRÇR‚RÈ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÞÑs	tBadElementPathTestcBsPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(cCs<tt|ƒjƒddlm}|j|_i|_dS(Niÿÿÿÿ(R(tsuperRßtsetUpRRRt
path_cache(RR((s//usr/local/lib/python2.7/test/test_xml_etree.pyRá×scCs3ddlm}|j|_tt|ƒjƒdS(Niÿÿÿÿ(R(RRRâRRàRßttearDown(RR((s//usr/local/lib/python2.7/test/test_xml_etree.pyRãÝscCsBtjdƒ}|jtjdƒgƒ|jt|dƒƒdS(NR–R•R(RRURZR^RÛ(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_with_mutatingâscCsWtjdƒ}|jtjdƒgƒy|jtdƒƒWntk
rRnXdS(NR–R•R(RRURZR^RÞtZeroDivisionError(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_with_errorçs
cCsBtjdƒ}|jtjdƒgƒ|jt|dƒƒdS(NR–R•R(RRURZRaRÛ(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_findtext_with_mutatingïscCsWtjdƒ}|jtjdƒgƒy|jtdƒƒWntk
rRnXdS(NR–R•R(RRURZRaRÞRå(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_findtext_with_errorôs
cCsBtjdƒ}|jtjdƒgƒ|jt|dƒƒdS(NR–R•R(RRURZR`RÛ(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_findall_with_mutatingüscCsWtjdƒ}|jtjdƒgƒy|jtdƒƒWntk
rRnXdS(NR–R•R(RRURZR`RÞRå(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_findall_with_errors
(
RRRáRãRäRæRçRèRéRê(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRßÖs							tElementTreeTypeTestcBs>eZd„Zed„ƒZed„ƒZed„ƒZRS(cCs…|jtjtƒ|jtjtƒ|jtjtƒttkr|jtjtƒ|jtjtƒ|jtj	tƒndS(N(
tassertIsInstanceRRÑttypeR.RR.RUR¶Rk(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_istypescCs{dtjfd„ƒY}|dƒ}|j|tjƒ|j||ƒ|j|jdƒd|_|j|jdƒdS(Nt	MyElementcBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRïsR–R¬(RRURìR5R&R*(RRïtmye((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_Element_subclass_trivials	cs‡dtjf‡fd†ƒY‰ˆdidd6dd6dd	d
dƒ}|j|jdƒ|jt|jƒƒd
dddgƒdS(NRïcseZi‡fd†ZRS(cs$tˆ|ƒj|d||dS(Nt__(Ràt__init__(RR&RGtextra(Rï(s//usr/local/lib/python2.7/test/test_xml_etree.pyRó%s(RRRó((Rï(s//usr/local/lib/python2.7/test/test_xml_etree.pyRï$sR–iRuiRtRwiRvitfoo__(Rui(Rti(Rwi(Rvi(RRUR5R&R§RC(RRð((Rïs//usr/local/lib/python2.7/test/test_xml_etree.pyt!test_Element_subclass_constructor"s
)cCs?dtjfd„ƒY}|dƒ}|j|jƒdƒdS(NRïcBseZd„ZRS(cSs|jS(N(R&(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyt	newmethod0s(RRR÷(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRï/sR¬(RRUR5R÷(RRïRð((s//usr/local/lib/python2.7/test/test_xml_etree.pyt test_Element_subclass_new_method-s(RRRîR2RñRöRø(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRë
s		tElementFindTestcBsMeZed„ƒZd„Zd„Zd„Zd„Zd„Zd„Z	RS(c	CstjttdtjƒƒZtjtƒ}|j|jdƒjdƒ|jtj	|ƒjdƒjdƒ|j|j
dƒdƒ|j|j
dƒƒ|j|j
ddƒdƒ|jtj	|ƒj
dƒdƒ|jt|j
dƒƒddgƒ|jt|j
dƒƒdddgƒ|j|jdƒƒ|j|j
dƒƒ|jt|j
dƒƒgƒWdQXdS(NRR&R*ttogRs.//tagssection/tag(RRRt_SimpleElementPathRgR‰R5R^R&RRaR|R(R`(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_simplefind8s%"%(cCsQtjtƒ}|j|jdƒjdƒ|j|jdƒjdƒ|j|jdƒjdƒtjtƒ|d<|j|jdƒjdƒ|j|jdƒdƒ|j|jdƒdƒ|j|jdƒd	ƒ|j|jdd
ƒd	ƒ|j|jdƒƒ|j|jdd
ƒd
ƒ|jtjdƒjd
ƒd	ƒdS(NR&ssection/tags./tagissection/nexttagtnexttagR*R×R9RRús<tag><empty /></tag>tempty(	RRgR‰R5R^R&tSAMPLE_SECTIONRaR|(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_simpleKscCs¹d}tj|ƒ}|j|jdƒjddƒ|j|jdƒjddƒ|j|jdƒjddƒ|j|jd	ƒjdd
ƒ|j|jdƒjddƒdS(Ns“
        <body>
            <tag class='a'/>
            <tag class='b'/>
            <tag class='c'/>
            <tag class='d'/>
        </body>s./tag[1]tclassRus./tag[2]Rts
./tag[last()]Rvs./tag[last()-1]Rws./tag[last()-2](RRgR5R^RG(Rt
LINEAR_XMLR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_xpathbs    cCsÚtjtƒ}tjtƒ|d<|jt|jdƒƒdgƒ|jt|jdƒƒddgƒ|jt|jdƒƒgƒ|jt|jdƒƒgƒ|jt|jdƒƒdddgƒ|jt|jd	ƒƒdgd
ƒ|jt|jdƒƒdgƒ|jt|jdƒƒdgdƒ|jt|jd
ƒƒdddgƒ|jt|jdƒƒddddgƒ|jt|jdƒƒddddgƒ|jt|jdƒƒdddgƒ|jt|jdƒƒddddgƒ|jt|jdƒƒdgƒ|jt|jdƒƒdgƒ|jt|jdƒƒdgdƒ|jt|jdƒƒdgdƒ|jt|jdƒƒdgdƒ|jt|jdƒƒdgƒ|jt|jdƒƒdgdƒ|jt|jdƒƒdgƒ|jt|jdƒƒdgƒ|jt|jdƒƒgƒ|jt|jdƒƒgƒ|jt|jd ƒƒdgdƒ|j|jd!ƒ|jdƒƒdS("NiRDR½R&Rústog/fooRTRAs.//tagissection/tagssection//tags	section/*Rýtnextsections
section//*ssection/.//*s*/*s*//*s*/tags*/./tags./tags././tags.//tag[@class]is.//tag[@class="a"]s.//tag[@class="b"]s.//tag[@id]s.//section[tag]s.//section[element]s../tagssection/../tags	section//(RRgR‰RÿR5R(R`(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_findallssR"%"&""&&


cCs~tjtƒ}|jt|jdƒƒgƒ|jt|jdƒƒdgdƒ|jt|jdƒƒdgdƒdS(NR&s{http://effbot.org/ns}tagis.//{http://effbot.org/ns}tagi(RRgR)R5R(R`(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_test_find_with_nsŸscCs9tjtƒ}|jtdƒ|jdƒWdQXdS(Ns#cannot use absolute path on elements/tag(RRgR‰tassertRaisesRegexptSyntaxErrorR`(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_bad_find©s	
cCs‚tjtƒ}|jtj|ƒjdƒjdƒ|jtj|ƒjdƒjdƒd}tj|t	fƒ*|jtj|ƒjdƒjdƒWdQXtjt
ƒ|d<|jtj|ƒjdƒjdƒ|jtj|ƒjdƒƒ|jtj|ƒjdƒƒ|jtj|ƒjdƒd	ƒ|jtj|ƒjdƒƒ|jtj|ƒjdd
ƒd
ƒ|jtj|ƒjdƒd	ƒtj|t	fƒ'|jtj|ƒjdƒd	ƒWdQX|jtj|ƒjdƒdƒ|jt
tj|ƒjdƒƒdgdƒtj|t	fƒtj|ƒjdƒ}WdQX|jt
|ƒdgdƒdS(NR&s./tags‰This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to '.+'s/tagissection/tagRústog/fooR*RR×(RRgR‰R5RR^R&RR	t
FutureWarningRÿR|RaR(R`(RR„R8RR((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_through_ElementTree¯s.%%+%""("!(
RRR2RüRRRRR	R(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRù7s			,	
	tElementIterTestcBsSeZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cCst|j|ƒƒS(N(R(R)(RR R&((s//usr/local/lib/python2.7/test/test_xml_etree.pyt_ilistÏscCsÆtjdƒ}|j|j|ƒdddgƒ|j|j|jdƒƒddgƒ|jt|jƒƒjdƒ|jdj|j	ƒƒdƒ|jdj|jdƒj	ƒƒdƒ|jt|j	ƒƒdƒt
|d	tƒ}|jttj|ƒƒd
dƒtt
krrt
|d	tƒ}tjdtjƒƒ}|jttj|d
|ƒƒd
dƒntjdƒ}|jt|jƒtjdƒ}|jdj|j	ƒƒdƒdS(Ns7<html><body>this is a <i>paragraph</i>.</body>..</html>R#R½R’R9sthis is a paragraph...sthis is a paragraph.s
this is a R!iRÆR®Rºs*<root>a&amp;<sub>b&amp;</sub>c&amp;</root>sa&b&c&(RRgR5R
R^RQR)R&R¿ReR%RÅRÎR.RkR¶RRKR€RÕ(RR>t
sourcefileRºR$((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_basicÒs&"(!#"
cCsÿtjdƒ}|j|j|ƒdgƒtj|dƒ}|j|j|ƒddgƒtj|dƒ}|j|j|ƒdddgƒtj|dƒ}|j|j|ƒddddgƒ|d|d<|d=|j|j|ƒddgƒdS(NRuRtRwRvii(RRUR5R
RÙ(RRuRtRwRv((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_cornersîs"%cCsýtjdƒ}|j|j|dƒdgdƒ|j|j|dƒdgdƒttkr|jt|jddƒƒdgdƒndddddddg}|jt|jƒƒ|ƒ|j|j|ƒ|ƒ|j|j|d	ƒ|ƒdS(
NsJ
            <document>
                <house>
                    <room>bedroom1</room>
                    <room>bedroom2</room>
                </house>
                <shed>nothing here
                </shed>
                <house>
                    <room>bedroom8</room>
                </house>
            </document>troomithouseiR&RÍtshedRT(RRgR5R
R.R(R)(RR>tall_tags((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_iter_by_tags	##cCsLtjsttkr>tjdtfƒ|jƒWdQXn
|jƒdS(Ns@This method will be removed in future versions.  Use .+ instead.(R†tpy3kwarningRR.RR	R`t_test_getiterator(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getiterator"s
	
cCstjdƒ}|jt|jdƒƒdgdƒ|jt|jdƒƒdgdƒttkr“|jt|jddƒƒdgdƒndddddddg}|jt|jƒƒ|ƒ|jt|jdƒƒ|ƒ|jt|jd	ƒƒ|ƒdS(
NsJ
            <document>
                <house>
                    <room>bedroom1</room>
                    <room>bedroom2</room>
                </house>
                <shed>nothing here
                </shed>
                <house>
                    <room>bedroom8</room>
                </house>
            </document>RiRiR&RÍRRT(RRgR5R(RfR.RK(RR>R((s//usr/local/lib/python2.7/test/test_xml_etree.pyR+s	cCsBtjdƒ}|jƒ}|jtƒtj|ƒWdQXdS(NRu(RRUR)R€RqR—(RRuRR((s//usr/local/lib/python2.7/test/test_xml_etree.pyRœKscCsltjdƒ}|jƒ}xJttjdƒD]5}|jttjfƒtj	||ƒWdQXq/WdS(NRui(
RRUR)RŽtpickletHIGHEST_PROTOCOLR€Rqt
PicklingErrortdumps(RRuRRtproto((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_pickleQs
N(RRRKR
RRRRRRœR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRÎs						 	tTreeBuilderTestcBs€eZdZdZd„Zd„Zed„ƒZed„ƒZed„ƒZ	ed„ƒZ
ed„ƒZed	„ƒZ
RS(
s <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>text<div>subtext</div>tail</html>s<toplevel>sometext</toplevel>cCsÈ|j|jdƒ|j|jdƒ|j|jdƒ|j|jiƒt|ƒ}|jt|ƒdƒ|d}|j|jdƒ|j|jdƒ|j|jdƒ|j|jiƒdS(NR#R*iitdivR×R,(R5R&R*R,RKRGRÞR;(RR„tchildrenRØ((s//usr/local/lib/python2.7/test/test_xml_etree.pyt_check_sample1_elementas
cCsRddd„ƒY}tjd|ƒƒ}|j|jƒ|j|jƒdƒdS(NtDummyBuildercBs"eZd„ZZZd„ZRS(cWsdS(N(RK(Ru((s//usr/local/lib/python2.7/test/test_xml_etree.pyt<lambda>pR9cSsdS(Ni*((R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRµrs(RRR¹RÉRÆRµ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR#osR®i*((RRkR´tsample1R5Rµ(RR#Rº((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_dummy_buildernscCsKtjdtjddƒƒ}|j|jƒ|jƒ}|j|ƒdS(NR®telement_factory(RRkR¶RKR´R%RµR"(RRºR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt$test_treebuilder_elementfactory_noneyscCszdtjfd„ƒY}|ƒ}|j|jdƒdƒtjd|ƒ}|j|jƒ|jƒ}|j|ƒdS(Nt
MyTreeBuildercBseZd„ZRS(cSs|dS(Ni((RR((s//usr/local/lib/python2.7/test/test_xml_etree.pytfoobarƒs(RRR*(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR)‚si
iR®(	RR¶R5R*RkR´R%RµR"(RR)ttbRºR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_subclass€s	csjg‰‡fd†}tjd|ƒ}tjd|ƒ}|j|jƒ|jƒ|jˆdgƒdS(Ncsˆj|ƒtj||ƒS(N(RYRRU(R&RG(tlst(s//usr/local/lib/python2.7/test/test_xml_etree.pyt	myfactory’s
R'R®ttoplevel(RR¶RkR´tsample2RµR5(RR.R+Rº((R-s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_element_factorys
cCszdtjfd„ƒY}tjd|ƒ}tjd|ƒ}|j|jƒ|jƒ}|j||ƒ|j|ƒdS(NRïcBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRïŸsR'R®(	RRUR¶RkR´R%RµRìR"(RRïR+RºR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_element_factory_subclassscCsRddd„ƒY}tjd|ƒƒ}|j|jƒ|j|jƒdƒdS(	Nt
DoctypeParsercBs1eZdZd„Zd„ZZZd„ZRS(cSs|||f|_dS(N(t_doctype(RR7tpubidtsystem((s//usr/local/lib/python2.7/test/test_xml_etree.pytdoctype°scWsdS(N(RK(Ru((s//usr/local/lib/python2.7/test/test_xml_etree.pyR$³R9cSs|jS(N(R4(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRµµsN(	RRRKR4R7R¹RÉRÆRµ(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR3­s	R®R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd((R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd(RRkR´R%R5Rµ(RR3Rº((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_doctype«sc	CsÕdtfd„ƒY}tjd|ƒƒx:d
D]2}|jtƒtjd||ƒƒWdQXq0Wtjd|d	tƒƒxOdD]G}tjd||d	tƒƒ}|j|jƒ|j|j	ƒƒq†WdS(NtRaisingBuildercBs eZded„Zd„ZRS(cSs||_||_dS(N(traise_intwhat(RR:R;((s//usr/local/lib/python2.7/test/test_xml_etree.pyRóÂs	cSs1||jkr$|j|jƒ‚nd„}|S(NcWsdS(N((R
((s//usr/local/lib/python2.7/test/test_xml_etree.pythandleÉs(R:R;(RR7R<((s//usr/local/lib/python2.7/test/test_xml_etree.pyt__getattr__Æs	N(RRRKRRóR=(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR9ÁsR®RÉR¹RÆRØRÝR;(RÉR¹RÆRØRÝ(RÉR¹RÆRØRÝ(
RÂRRkR€RRÕR´R%R|Rµ(RR9teventRº((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_builder_lookup_errors¿s
 
(RRR%R0R"R&R2R(R,R1R2R8R3R?(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRYs	
	t
XMLParserTestcBsYeZdZdZd„Zed„ƒZed„ƒZed„ƒZed„ƒZ	RS(s<file><line>22</line></file>sŠ<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>text</html>cCsE|j|jdƒ|j|djdƒ|j|djdƒdS(NR#itlinet22(R5R&R*(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt_check_sample_elementáscCsŸtjdtfƒ tjdtjƒdƒ}WdQX|j|jƒ|j	|j
ƒƒtjdddtjƒƒ}|j|jƒ|j	|j
ƒƒdS(Ns
.*\bhtml\bsutf-8RçR®(Rtcheck_py3k_warningsR_RRkRKR¶R´R%RCRµ(RRºtparser2((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_constructor_argsæs!cCsIdtjfd„ƒY}|ƒ}|j|jƒ|j|jƒƒdS(NtMyParsercBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRG÷s(RRkR´R%RCRµ(RRGRº((s//usr/local/lib/python2.7/test/test_xml_etree.pyR,õs	cCsVtjƒ}tjdtfƒ|jdddƒWdQX|jdƒ|jƒdS(NR9R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtds<html/>(RRkRR	R_R7R´Rµ(RRº((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_doctype_warningýs

c
sg‰dtjf‡fd†ƒY}|ƒ}tjdtfƒ|j|jƒWdQX|jƒ|jˆdgƒg‰g‰t	j
ƒ}t	jdtƒdd‡fd	†ƒY}|d
|ƒƒ}|j|jƒ|jƒ|jˆgƒ|jˆd
gƒWdQXdS(NtMyParserWithDoctypecseZ‡fd†ZRS(csˆj|||fƒdS(N(RY(RR7R5R6(R4(s//usr/local/lib/python2.7/test/test_xml_etree.pyR7
	s(RRR7((R4(s//usr/local/lib/python2.7/test/test_xml_etree.pyRI		sR9R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtdterrorR3cs,eZd„ZZZZ‡fd†ZRS(cWsdS(N(RK(Ru((s//usr/local/lib/python2.7/test/test_xml_etree.pyR$	R9csˆj|||fƒdS(N(RY(RR7R5R6(t	_doctype2(s//usr/local/lib/python2.7/test/test_xml_etree.pyR7	s(RRR¹RÉRÆRµR7((RK(s//usr/local/lib/python2.7/test/test_xml_etree.pyR3	sR®(R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd((R#s&-//W3C//DTD XHTML 1.0 Transitional//ENs7http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd(RRkRR	R_R´R0RµR5twarningstcatch_warningstsimplefilter(RRIRºR3((R4RKs//usr/local/lib/python2.7/test/test_xml_etree.pyttest_subclass_doctype	s*	
	


	(
RRR%R0RCR2RFR,RHRO(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR@Ús		tNamespaceParseTestcBseZd„ZRS(cCsidd6dd6}tjtƒ}|jt|jd|ƒƒdƒ|jt|jd|ƒƒdƒ|jt|jd	|ƒƒdƒdS(
NthellothR–R¸s{hello}tableis.//{hello}tdis.//{foo}name(RRhtSAMPLE_XML_NS_ELEMSR5R;R`(RtnsmapR>((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_find_with_namespace)	s
""(RRRU(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRP(	stElementSlicingTestcBsteZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(cCsg|D]}|j^qS(N(R&(RtelemlistR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
_elem_tags3	scCs|jt|ƒƒS(N(RXRÞ(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
_subelem_tags6	scCs>tjdƒ}x(t|ƒD]}tj|d|ƒqW|S(sxCreate an Element with a tag 'a', with the given amount of children
           named 'a0', 'a1' ... and so on.

        Rusa%s(RRURŽRÙ(RtnumchildrenR„R’((s//usr/local/lib/python2.7/test/test_xml_etree.pyt_make_elem_with_children9	scss|jdƒ‰|jˆdjdƒ|jˆdjdƒ|jt‡fd†ƒ|jt‡fd†ƒdS(Ni
ita1iþÿÿÿta8csˆdS(Ni(((R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR$I	R9csˆdS(Niôÿÿÿ(((R„(s//usr/local/lib/python2.7/test/test_xml_etree.pyR$J	R9(R[R5R&R€t
IndexError(R((R„s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getslice_single_indexC	s
cCsú|jdƒ}|j|j|dƒdddgƒ|j|j|dd!ƒdddgƒ|j|j|dd!ƒdddgƒ|j|j|dd!ƒddgƒ|j|j|dd!ƒddgƒ|j|j|d	 ƒd
dgƒdS(Niita3ta4ta5iiiÿÿÿÿita0R\(R[R5RX(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getslice_rangeL	s&))&&cCs%|jdƒ}|j|j|ddd…ƒddgƒ|j|j|ddd…ƒddd	dgƒ|j|j|ddd…ƒddgƒ|j|j|ddd…ƒd
dgƒ|j|j|ddtj…ƒdgƒ|j|j|ddtjd>…ƒdgƒdS(Ni
iiR]ta9iRcR`ta6R\i@(R[R5RXR†tmaxsize(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getslice_stepsV	s,2,,,cCs|jdƒ}|j|j|ddd…ƒddddgƒ|j|j|ddd…ƒddgƒ|j|j|ddtj…ƒdgƒ|j|j|ddtjd	…ƒdgƒ|j|j|ddtjd
>…ƒdgƒdS(NiiÿÿÿÿR`ta2R\Rciþÿÿÿiii@(R[R5RXR†Rg(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_getslice_negative_steps`	s2,-1cCsi|jdƒ}|dd5|j|j|ƒddgƒ|jdƒ}|d3|j|j|ƒgƒttkre|jdƒ}|ddd…=|j|j|ƒgƒ|jdƒ}|ddd…=|j|j|ƒddgƒ|jdƒ}|d	dd…=|j|j|ƒddgƒ|jdƒ}|ddd…=|j|j|ƒd
gƒndS(NiiiRiR`iÿÿÿÿiþÿÿÿRciR\(R[R5RYRR.(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
test_delslicei	s&
cCsú|jdƒ}tjdƒ|d<|j|j|ƒddddgƒtjdƒ|d<|j|j|ƒddddgƒ|jtƒtjd	ƒ|d
<WdQX|jtƒtjd	ƒ|d<WdQX|j|j|ƒddddgƒdS(NiRtiRcRiR`RwiþÿÿÿRviiûÿÿÿ(R[RRUR5RYR€R^(RR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_setslice_single_indexƒ	s%%cCs|jdƒ}gtdƒD]}tjd|ƒ^q|dd+|j|j|ƒdddd	gƒ|jdƒ}tjd
ƒg|dd+|j|j|ƒdd
d	gƒ|jdƒ}gtdƒD]}tjd|ƒ^qÍ|dd+|j|j|ƒddddd	gƒdS(Niisb%siiRctb0tb1R`Rttb2(R[RŽRRUR5RY(RR„R’((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_setslice_range‘	s3%"3cCsÿ|jdƒ}gtdƒD]}tjd|ƒ^q|ddd…<|j|j|ƒdddd	d
dgƒ|jdƒ}|jtƒ$tjdƒg|ddd…<WdQX|jtƒ>gtd
ƒD]}tjd|ƒ^qÔ|ddd…<WdQX|jtƒg|ddd…<WdQX|j|j|ƒddddd
dgƒ|jdƒ}tjdƒg|ddtj	…<|j|j|ƒddddgƒtjdƒg|ddtj	d>…<|j|j|ƒddddgƒdS(Niisb%siiRcRmRiRnRaRbRtiR\R`iRwi@(
R[RŽRRUR5RYR€RR†Rg(RR„R’((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_setslice_stepsž	s 9+%?+"%&cCsA|jdƒ}gtdƒD]}tjd|ƒ^q|ddd…<|j|j|ƒdddd	gƒ|jdƒ}|jtƒ$tjd
ƒg|ddd…<WdQX|jtƒ>gtdƒD]}tjd|ƒ^qÎ|ddd…<WdQX|jtƒg|ddd…<WdQX|j|j|ƒddd
d	gƒ|jdƒ}tjd
ƒg|ddtj	…<|j|j|ƒdd
d
d	gƒtjdƒg|ddtj	d…<|j|j|ƒddd
d	gƒtjdƒg|ddtj	d>…<|j|j|ƒddd
d	gƒdS(Niisb%siiÿÿÿÿRcRnRmR`RtiR\RiiRwRvi@(
R[RŽRRUR5RYR€RR†Rg(RR„R’((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_setslice_negative_steps²	s$9%%?%#%'%'(RRRXRYR[R_RdRhRjRkRlRpRqRr(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRV2	s			
			
	
					
	tIOTestcBsleZd„Zd„Zd„Zd„Zd„Zd„Zddd„ƒYZd„Z	d	„Z
d
„ZRS(cCstjtƒdS(N(RtunlinkR(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRãÊ	scCs–tjdƒ}d|_|jt|ƒdƒ|jt|ddƒdƒ|jt|ddƒdƒ|jt|ddƒdƒtjdƒ}d	|_|jt|ƒd
ƒ|jt|ddƒd
ƒ|jt|ddƒd
ƒ|jt|ddƒdƒtjdƒ}d	|jd<|jt|ƒd
ƒ|jt|ddƒd
ƒ|jt|ddƒd
ƒ|jt|ddƒdƒtjdƒ}d|_|jt|ƒdƒ|jt|ddƒdƒ|jt|ddƒdƒ|jt|ddƒdƒtjdƒ}d|jd<|jt|ƒdƒ|jt|ddƒdƒ|jt|ddƒdƒ|jt|ddƒdƒdS(NR&uabcs<tag>abc</tag>Rçsutf-8sus-asciis
iso-8859-1s:<?xml version='1.0' encoding='iso-8859-1'?>
<tag>abc</tag>s<&"'>s<tag>&lt;&amp;"'&gt;</tag>sF<?xml version='1.0' encoding='iso-8859-1'?>
<tag>&lt;&amp;"'&gt;</tag>RAs"<tag key="&lt;&amp;&quot;'&gt;" />sN<?xml version='1.0' encoding='iso-8859-1'?>
<tag key="&lt;&amp;&quot;'&gt;" />uåöö<>s%<tag>&#229;&#246;&#246;&lt;&gt;</tag>s<tag>åöö&lt;&gt;</tag>sB<?xml version='1.0' encoding='iso-8859-1'?>
<tag>åöö&lt;&gt;</tag>s(<tag key="&#229;&#246;&#246;&lt;&gt;" />s<tag key="åöö&lt;&gt;" />sE<?xml version='1.0' encoding='iso-8859-1'?>
<tag key="åöö&lt;&gt;" />(RRUR*R5R%RG(RR ((s//usr/local/lib/python2.7/test/test_xml_etree.pyR"Í	s^		
	
cCsWtjtjdƒƒ}|jtƒttdƒ}|j|jƒdƒWdQXdS(Ns<site />RÌ(RRRgRRR±R5R²(RR$R¸((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_write_to_filename
s
cCstjtjdƒƒ}ttdƒ$}|j|ƒ|j|jƒWdQXttdƒ}|j|j	ƒdƒWdQXdS(Ns<site />twbRÌ(
RRRgR±RRRÏRÐR5R²(RR$R¸((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_write_to_file
s
cCsEtjƒ}tjdƒ}|j|ƒ|j|jƒjdƒdS(Ns"<?xml version="1.0"?><site></site>tsite(RRRR¯R5RVR&(RR$R·((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_read_from_stringio
s
cCsKtjtjdƒƒ}tjƒ}|j|ƒ|j|jƒdƒdS(Ns<site />(RRRgRRR5R(RR$R·((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_write_to_stringio
s
tdummycBseZRS((RR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR{"
scCs]tjdƒ}|jƒ}|j|_tjƒ}|j|ƒ|j|jƒjdƒdS(Ns"<?xml version="1.0"?><site></site>Rx(	RR{R²RRR¯R5RVR&(RR·treaderR$((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_read_from_user_reader%
s
cCsctjtjdƒƒ}tjƒ}|jƒ}|j|_|j|ƒ|j|jƒdƒdS(Ns<site />(RRRgRR{RR5R(RR$R·twriter((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_write_to_user_writer-
s
cCsotjdƒ}|jtj|ƒdjtj|ƒƒƒ|jtj|dƒdjtj|dƒƒƒdS(Ns<tag>foo</tag>R9sutf-16(RRhR5R¦R¿RÀ(RRÇ((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_tostringlist_invariant5
s((RRRãR"RuRwRyRzR{R}RR€(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRsÉ	s		;						tParseErrorTestcBs2eZd„Zd„Zd„Zed„ƒZRS(cCs|jtjƒtƒdS(N(RìRRÑR(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyR,@
scCs/ytj|ƒWntjk
r*}|SXdS(N(RRhRÑ(RRR„((s//usr/local/lib/python2.7/test/test_xml_etree.pyt
_get_errorC
scCsX|j|jdƒjdƒ|j|jdƒjd	ƒ|j|jdƒjd
ƒdS(NR–iis<tag>&foo;</tag>isfoobar<i(ii(ii(ii(R5R‚tposition(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_error_positionI
scCs?ddlm}|j|j|jdƒjƒ|jjƒdS(Niÿÿÿÿ(texpatR–(txml.parsersR…R5tErrorStringR‚tcodeterrorstXML_ERROR_SYNTAX(RR…((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_error_codeN
s(RRR,R‚R„R2R‹(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR?
s			tKeywordArgsTestcBseZd„ZRS(cCsvtjdƒ}|j|jddƒ|jddddƒƒ|j|jdddƒ|jddddddƒƒ|j|jddƒ|jddddƒƒ|jt|jddƒƒt|jddddƒƒƒ|jtj	dƒj
iƒtj	dtdddd	ƒƒtj	dd
tdddd	ƒƒtj	dtddƒdd	ƒtj	ddddd	ƒtj	dtdddd	ƒdddd	ƒg}xC|D];}|j|jdƒ|j|j
tdddd	ƒƒq¤Wtj
|ddd
id
d6ƒ}|j|j
dd
ƒ|jtdƒtj	ddƒWdQX|jtdƒtj	dd
dƒWdQXdS(Ns
<a>foo</a>Rutpatht
namespacesRRft#tidR–RGiR*tvalue1tkey1smust be dict, not strsI'm not a dict(RRgR5R^RKRaR`RÞR_RURGtdictR&RÙRRq(RRtelementsR„Rš((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_issue14818X
s0!0
&#(RRR•(((s//usr/local/lib/python2.7/test/test_xml_etree.pyRŒU
stNoAcceleratorTestcBseZd„Zd„ZRS(cCs"ttk	rtjdƒ‚ndS(Nsonly for the Python version(RR.R/R0(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyRáz
scCs6|jtjjtjƒ|jtjjtjƒdS(N(RìR.RURóttypestFunctionTypeRk(R((s//usr/local/lib/python2.7/test/test_xml_etree.pyttest_correct_import_pyET
s(RRRáR™(((s//usr/local/lib/python2.7/test/test_xml_etree.pyR–y
s	cCsù|dkrt}n|attttttt	t
ttt
ttttg}ttk	rm|jtgƒnddlm}tj}|jƒ}|j}|jƒ|_ztj|ŒWdddlm}|jƒ|j|ƒ||_daXdS(Niÿÿÿÿ(R(RKR.RRRVRªR»RßR4RsRRbRëRùRRR@RpRZR–RRt_namespace_mapR—RRtrun_unittestRbR(tmodulettest_classesRRTt
nsmap_copyRâ((s//usr/local/lib/python2.7/test/test_xml_etree.pyt	test_main‰
sB		
		

	t__main__(CtcgiR—RtioRRR†R—R/RLR¯R
RRttest.test_supportRRRRRRR.RKRR‹R°R¢R‰RÿR)RSR'RtTestCaseRR³R%R(R-R2R3R4RctformattescapeRnRbRpRªR»R‚RÛRÞRßRëRùRRR@RPRVRsRRŒR–RŸR(((s//usr/local/lib/python2.7/test/test_xml_etree.pyt<module>	sˆ"


	

				
ÿÿÿ_
	








ÿ78Œ
4-—‹N
—v$7

Zerion Mini Shell 1.0