Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.tests.test_elementtree-module.html
1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3           "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6   <title>lxml.tests.test_elementtree</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33   <!-- Project homepage -->
34       <th class="navbar" align="right" width="100%">
35         <table border="0" cellpadding="0" cellspacing="0">
36           <tr><th class="navbar" align="center"
37             ><a class="navbar" target="_top" href="/">lxml API</a></th>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         <a href="lxml-module.html">Package&nbsp;lxml</a> ::
46         <a href="lxml.tests-module.html">Package&nbsp;tests</a> ::
47         Module&nbsp;test_elementtree
48       </span>
49     </td>
50     <td>
51       <table cellpadding="0" cellspacing="0">
52         <!-- hide/show private -->
53         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="lxml.tests.test_elementtree-module.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== MODULE DESCRIPTION ==================== -->
64 <h1 class="epydoc">Module test_elementtree</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_elementtree-pysrc.html">source&nbsp;code</a></span></p>
65 <p>Tests for the ElementTree API</p>
66 <p>Only test cases that apply equally well to etree and ElementTree
67 belong here. Note that there is a second test module called test_io.py
68 for IO related test cases.</p>
69
70 <!-- ==================== CLASSES ==================== -->
71 <a name="section-Classes"></a>
72 <table class="summary" border="1" cellpadding="3"
73        cellspacing="0" width="100%" bgcolor="white">
74 <tr bgcolor="#70b0f0" class="table-header">
75   <td colspan="2" class="table-header">
76     <table border="0" cellpadding="0" cellspacing="0" width="100%">
77       <tr valign="top">
78         <td align="left"><span class="table-header">Classes</span></td>
79         <td align="right" valign="top"
80          ><span class="options">[<a href="#section-Classes"
81          class="privatelink" onclick="toggle_private();"
82          >hide private</a>]</span></td>
83       </tr>
84     </table>
85   </td>
86 </tr>
87 <tr class="private">
88     <td width="15%" align="right" valign="top" class="summary">
89       <span class="summary-type">&nbsp;</span>
90     </td><td class="summary">
91         <a href="lxml.tests.test_elementtree._ETreeTestCaseBase-class.html" class="summary-name" onclick="show_private();">_ETreeTestCaseBase</a>
92     </td>
93   </tr>
94 <tr class="private">
95     <td width="15%" align="right" valign="top" class="summary">
96       <span class="summary-type">&nbsp;</span>
97     </td><td class="summary">
98         <a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html" class="summary-name" onclick="show_private();">_ElementSlicingTest</a>
99     </td>
100   </tr>
101 <tr class="private">
102     <td width="15%" align="right" valign="top" class="summary">
103       <span class="summary-type">&nbsp;</span>
104     </td><td class="summary">
105         <a href="lxml.tests.test_elementtree._XMLPullParserTest-class.html" class="summary-name" onclick="show_private();">_XMLPullParserTest</a>
106     </td>
107   </tr>
108 <tr class="private">
109     <td width="15%" align="right" valign="top" class="summary">
110       <span class="summary-type">&nbsp;</span>
111     </td><td class="summary">
112         <a href="lxml.tests.test_elementtree._C14NTest-class.html" class="summary-name" onclick="show_private();">_C14NTest</a>
113     </td>
114   </tr>
115 <tr>
116     <td width="15%" align="right" valign="top" class="summary">
117       <span class="summary-type">&nbsp;</span>
118     </td><td class="summary">
119         <a href="lxml.tests.test_elementtree.ETreeTestCase-class.html" class="summary-name">ETreeTestCase</a>
120     </td>
121   </tr>
122 <tr>
123     <td width="15%" align="right" valign="top" class="summary">
124       <span class="summary-type">&nbsp;</span>
125     </td><td class="summary">
126         <a href="lxml.tests.test_elementtree.ETreePullTestCase-class.html" class="summary-name">ETreePullTestCase</a>
127     </td>
128   </tr>
129 <tr>
130     <td width="15%" align="right" valign="top" class="summary">
131       <span class="summary-type">&nbsp;</span>
132     </td><td class="summary">
133         <a href="lxml.tests.test_elementtree.ETreeElementSlicingTest-class.html" class="summary-name">ETreeElementSlicingTest</a>
134     </td>
135   </tr>
136 <tr>
137     <td width="15%" align="right" valign="top" class="summary">
138       <span class="summary-type">&nbsp;</span>
139     </td><td class="summary">
140         <a href="lxml.tests.test_elementtree.ETreeC14NTest-class.html" class="summary-name">ETreeC14NTest</a>
141     </td>
142   </tr>
143 <tr>
144     <td width="15%" align="right" valign="top" class="summary">
145       <span class="summary-type">&nbsp;</span>
146     </td><td class="summary">
147         <a href="lxml.tests.test_elementtree.ETreeC14N2WriteTest-class.html" class="summary-name">ETreeC14N2WriteTest</a>
148     </td>
149   </tr>
150 <tr>
151     <td width="15%" align="right" valign="top" class="summary">
152       <span class="summary-type">&nbsp;</span>
153     </td><td class="summary">
154         <a href="lxml.tests.test_elementtree.ETreeC14N2TostringTest-class.html" class="summary-name">ETreeC14N2TostringTest</a>
155     </td>
156   </tr>
157 <tr>
158     <td width="15%" align="right" valign="top" class="summary">
159       <span class="summary-type">&nbsp;</span>
160     </td><td class="summary">
161         <a href="lxml.tests.test_elementtree.ElementTreeTestCase-class.html" class="summary-name">ElementTreeTestCase</a>
162     </td>
163   </tr>
164 <tr>
165     <td width="15%" align="right" valign="top" class="summary">
166       <span class="summary-type">&nbsp;</span>
167     </td><td class="summary">
168         <a href="lxml.tests.test_elementtree.ElementTreeElementSlicingTest-class.html" class="summary-name">ElementTreeElementSlicingTest</a>
169     </td>
170   </tr>
171 <tr>
172     <td width="15%" align="right" valign="top" class="summary">
173       <span class="summary-type">&nbsp;</span>
174     </td><td class="summary">
175         <a href="lxml.tests.test_elementtree.CElementTreeTestCase-class.html" class="summary-name">CElementTreeTestCase</a>
176     </td>
177   </tr>
178 <tr>
179     <td width="15%" align="right" valign="top" class="summary">
180       <span class="summary-type">&nbsp;</span>
181     </td><td class="summary">
182         <a href="lxml.tests.test_elementtree.CElementTreeElementSlicingTest-class.html" class="summary-name">CElementTreeElementSlicingTest</a>
183     </td>
184   </tr>
185 </table>
186 <!-- ==================== FUNCTIONS ==================== -->
187 <a name="section-Functions"></a>
188 <table class="summary" border="1" cellpadding="3"
189        cellspacing="0" width="100%" bgcolor="white">
190 <tr bgcolor="#70b0f0" class="table-header">
191   <td colspan="2" class="table-header">
192     <table border="0" cellpadding="0" cellspacing="0" width="100%">
193       <tr valign="top">
194         <td align="left"><span class="table-header">Functions</span></td>
195         <td align="right" valign="top"
196          ><span class="options">[<a href="#section-Functions"
197          class="privatelink" onclick="toggle_private();"
198          >hide private</a>]</span></td>
199       </tr>
200     </table>
201   </td>
202 </tr>
203 <tr>
204     <td width="15%" align="right" valign="top" class="summary">
205       <span class="summary-type">&nbsp;</span>
206     </td><td class="summary">
207       <table width="100%" cellpadding="0" cellspacing="0" border="0">
208         <tr>
209           <td><span class="summary-sig"><a name="et_needs_pyversion"></a><span class="summary-sig-name">et_needs_pyversion</span>(<span class="summary-sig-arg">*version</span>)</span></td>
210           <td align="right" valign="top">
211             <span class="codelink"><a href="lxml.tests.test_elementtree-pysrc.html#et_needs_pyversion">source&nbsp;code</a></span>
212             
213           </td>
214         </tr>
215       </table>
216       
217     </td>
218   </tr>
219 <tr>
220     <td width="15%" align="right" valign="top" class="summary">
221       <span class="summary-type">&nbsp;</span>
222     </td><td class="summary">
223       <table width="100%" cellpadding="0" cellspacing="0" border="0">
224         <tr>
225           <td><span class="summary-sig"><a name="test_suite"></a><span class="summary-sig-name">test_suite</span>()</span></td>
226           <td align="right" valign="top">
227             <span class="codelink"><a href="lxml.tests.test_elementtree-pysrc.html#test_suite">source&nbsp;code</a></span>
228             
229           </td>
230         </tr>
231       </table>
232       
233     </td>
234   </tr>
235 </table>
236 <!-- ==================== VARIABLES ==================== -->
237 <a name="section-Variables"></a>
238 <table class="summary" border="1" cellpadding="3"
239        cellspacing="0" width="100%" bgcolor="white">
240 <tr bgcolor="#70b0f0" class="table-header">
241   <td colspan="2" class="table-header">
242     <table border="0" cellpadding="0" cellspacing="0" width="100%">
243       <tr valign="top">
244         <td align="left"><span class="table-header">Variables</span></td>
245         <td align="right" valign="top"
246          ><span class="options">[<a href="#section-Variables"
247          class="privatelink" onclick="toggle_private();"
248          >hide private</a>]</span></td>
249       </tr>
250     </table>
251   </td>
252 </tr>
253 <tr>
254     <td width="15%" align="right" valign="top" class="summary">
255       <span class="summary-type">&nbsp;</span>
256     </td><td class="summary">
257         <a name="cElementTree"></a><span class="summary-name">cElementTree</span> = <code title="None">None</code><br />
258       hash(x)
259     </td>
260   </tr>
261 <tr>
262     <td width="15%" align="right" valign="top" class="summary">
263       <span class="summary-type">&nbsp;</span>
264     </td><td class="summary">
265         <a name="ElementTreePullTestCase"></a><span class="summary-name">ElementTreePullTestCase</span> = <code title="None">None</code><br />
266       hash(x)
267     </td>
268   </tr>
269 <tr>
270     <td width="15%" align="right" valign="top" class="summary">
271       <span class="summary-type">&nbsp;</span>
272     </td><td class="summary">
273         <a name="ElementTreeC14NTest"></a><span class="summary-name">ElementTreeC14NTest</span> = <code title="None">None</code><br />
274       hash(x)
275     </td>
276   </tr>
277 <tr>
278     <td width="15%" align="right" valign="top" class="summary">
279       <span class="summary-type">&nbsp;</span>
280     </td><td class="summary">
281         <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lxml.tests'"><code class="variable-quote">'</code><code class="variable-string">lxml.tests</code><code class="variable-quote">'</code></code>
282     </td>
283   </tr>
284 </table>
285 <!-- ==================== NAVIGATION BAR ==================== -->
286 <table class="navbar" border="0" width="100%" cellpadding="0"
287        bgcolor="#a0c0ff" cellspacing="0">
288   <tr valign="middle">
289   <!-- Home link -->
290       <th>&nbsp;&nbsp;&nbsp;<a
291         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
292
293   <!-- Tree link -->
294       <th>&nbsp;&nbsp;&nbsp;<a
295         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
296
297   <!-- Index link -->
298       <th>&nbsp;&nbsp;&nbsp;<a
299         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
300
301   <!-- Help link -->
302       <th>&nbsp;&nbsp;&nbsp;<a
303         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
304
305   <!-- Project homepage -->
306       <th class="navbar" align="right" width="100%">
307         <table border="0" cellpadding="0" cellspacing="0">
308           <tr><th class="navbar" align="center"
309             ><a class="navbar" target="_top" href="/">lxml API</a></th>
310           </tr></table></th>
311   </tr>
312 </table>
313 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
314   <tr>
315     <td align="left" class="footer">
316     Generated by Epydoc 3.0.1
317     on Thu Jul  9 18:29:53 2020
318     </td>
319     <td align="right" class="footer">
320       <a target="mainFrame" href="http://epydoc.sourceforge.net"
321         >http://epydoc.sourceforge.net</a>
322     </td>
323   </tr>
324 </table>
325
326 <script type="text/javascript">
327   <!--
328   // Private objects are initially displayed (because if
329   // javascript is turned off then we want them to be
330   // visible); but by default, we want to hide them.  So hide
331   // them unless we have a cookie that says to show them.
332   checkCookie();
333   // -->
334 </script>
335 </body>
336 </html>