Imported Upstream version 4.5.2
[platform/upstream/python-lxml.git] / doc / html / api / lxml.tests.test_elementtree.ElementTreeElementSlicingTest-class.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.ElementTreeElementSlicingTest</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         <a href="lxml.tests.test_elementtree-module.html">Module&nbsp;test_elementtree</a> ::
48         Class&nbsp;ElementTreeElementSlicingTest
49       </span>
50     </td>
51     <td>
52       <table cellpadding="0" cellspacing="0">
53         <!-- hide/show private -->
54         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56         <tr><td align="right"><span class="options"
57             >[<a href="frames.html" target="_top">frames</a
58             >]&nbsp;|&nbsp;<a href="lxml.tests.test_elementtree.ElementTreeElementSlicingTest-class.html"
59             target="_top">no&nbsp;frames</a>]</span></td></tr>
60       </table>
61     </td>
62   </tr>
63 </table>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class ElementTreeElementSlicingTest</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_elementtree-pysrc.html#ElementTreeElementSlicingTest">source&nbsp;code</a></span></p>
66 <pre class="base-tree">
67             object --+        
68                      |        
69 unittest.case.TestCase --+    
70                          |    
71        <a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html" onclick="show_private();">_ElementSlicingTest</a> --+
72                              |
73                             <strong class="uidshort">ElementTreeElementSlicingTest</strong>
74 </pre>
75
76 <hr />
77 <!-- ==================== NESTED CLASSES ==================== -->
78 <a name="section-NestedClasses"></a>
79 <table class="summary" border="1" cellpadding="3"
80        cellspacing="0" width="100%" bgcolor="white">
81 <tr bgcolor="#70b0f0" class="table-header">
82   <td colspan="2" class="table-header">
83     <table border="0" cellpadding="0" cellspacing="0" width="100%">
84       <tr valign="top">
85         <td align="left"><span class="table-header">Nested Classes</span></td>
86         <td align="right" valign="top"
87          ><span class="options">[<a href="#section-NestedClasses"
88          class="privatelink" onclick="toggle_private();"
89          >hide private</a>]</span></td>
90       </tr>
91     </table>
92   </td>
93 </tr>
94   <tr>
95     <td colspan="2" class="summary">
96     <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
97       <code><a href="exceptions.AssertionError-class.html">failureException</a></code>
98       </p>
99     </td>
100   </tr>
101 </table>
102 <!-- ==================== INSTANCE METHODS ==================== -->
103 <a name="section-InstanceMethods"></a>
104 <table class="summary" border="1" cellpadding="3"
105        cellspacing="0" width="100%" bgcolor="white">
106 <tr bgcolor="#70b0f0" class="table-header">
107   <td colspan="2" class="table-header">
108     <table border="0" cellpadding="0" cellspacing="0" width="100%">
109       <tr valign="top">
110         <td align="left"><span class="table-header">Instance Methods</span></td>
111         <td align="right" valign="top"
112          ><span class="options">[<a href="#section-InstanceMethods"
113          class="privatelink" onclick="toggle_private();"
114          >hide private</a>]</span></td>
115       </tr>
116     </table>
117   </td>
118 </tr>
119   <tr>
120     <td colspan="2" class="summary">
121     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html" onclick="show_private();">_ElementSlicingTest</a></code></b>:
122       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_delslice">test_delslice</a></code>,
123       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_getslice_negative_steps">test_getslice_negative_steps</a></code>,
124       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_getslice_range">test_getslice_range</a></code>,
125       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_getslice_single_index">test_getslice_single_index</a></code>,
126       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_getslice_steps">test_getslice_steps</a></code>,
127       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_setslice_negative_steps">test_setslice_negative_steps</a></code>,
128       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_setslice_range">test_setslice_range</a></code>,
129       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_setslice_single_index">test_setslice_single_index</a></code>,
130       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#test_setslice_steps">test_setslice_steps</a></code>
131       </p>
132     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html" onclick="show_private();">_ElementSlicingTest</a></code></b> (private):
133       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#_elem_tags" onclick="show_private();">_elem_tags</a></code>,
134       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#_make_elem_with_children" onclick="show_private();">_make_elem_with_children</a></code>,
135       <code><a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html#_subelem_tags" onclick="show_private();">_subelem_tags</a></code>
136       </p></div>
137     <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
138       <code>__call__</code>,
139       <code>__eq__</code>,
140       <code>__hash__</code>,
141       <code>__init__</code>,
142       <code>__ne__</code>,
143       <code>__repr__</code>,
144       <code>__str__</code>,
145       <code>addCleanup</code>,
146       <code>addTypeEqualityFunc</code>,
147       <code>assertAlmostEqual</code>,
148       <code>assertAlmostEquals</code>,
149       <code>assertDictContainsSubset</code>,
150       <code>assertDictEqual</code>,
151       <code>assertEqual</code>,
152       <code>assertEquals</code>,
153       <code>assertFalse</code>,
154       <code>assertGreater</code>,
155       <code>assertGreaterEqual</code>,
156       <code>assertIn</code>,
157       <code>assertIs</code>,
158       <code>assertIsInstance</code>,
159       <code>assertIsNone</code>,
160       <code>assertIsNot</code>,
161       <code>assertIsNotNone</code>,
162       <code>assertItemsEqual</code>,
163       <code>assertLess</code>,
164       <code>assertLessEqual</code>,
165       <code>assertListEqual</code>,
166       <code>assertMultiLineEqual</code>,
167       <code>assertNotAlmostEqual</code>,
168       <code>assertNotAlmostEquals</code>,
169       <code>assertNotEqual</code>,
170       <code>assertNotEquals</code>,
171       <code>assertNotIn</code>,
172       <code>assertNotIsInstance</code>,
173       <code>assertNotRegexpMatches</code>,
174       <code>assertRaises</code>,
175       <code>assertRaisesRegexp</code>,
176       <code>assertRegexpMatches</code>,
177       <code>assertSequenceEqual</code>,
178       <code>assertSetEqual</code>,
179       <code>assertTrue</code>,
180       <code>assertTupleEqual</code>,
181       <code>assert_</code>,
182       <code>countTestCases</code>,
183       <code>debug</code>,
184       <code>defaultTestResult</code>,
185       <code>doCleanups</code>,
186       <code>fail</code>,
187       <code>failIf</code>,
188       <code>failIfAlmostEqual</code>,
189       <code>failIfEqual</code>,
190       <code>failUnless</code>,
191       <code>failUnlessAlmostEqual</code>,
192       <code>failUnlessEqual</code>,
193       <code>failUnlessRaises</code>,
194       <code>id</code>,
195       <code>run</code>,
196       <code>setUp</code>,
197       <code>shortDescription</code>,
198       <code>skipTest</code>,
199       <code>tearDown</code>
200       </p>
201     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
202       <code>_addSkip</code>,
203       <code>_baseAssertEqual</code>,
204       <code>_deprecate</code>,
205       <code>_formatMessage</code>,
206       <code>_getAssertEqualityFunc</code>,
207       <code>_truncateMessage</code>
208       </p></div>
209     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
210       <code>__delattr__</code>,
211       <code>__format__</code>,
212       <code>__getattribute__</code>,
213       <code>__new__</code>,
214       <code>__reduce__</code>,
215       <code>__reduce_ex__</code>,
216       <code>__setattr__</code>,
217       <code>__sizeof__</code>,
218       <code>__subclasshook__</code>
219       </p>
220     </td>
221   </tr>
222 </table>
223 <!-- ==================== CLASS METHODS ==================== -->
224 <a name="section-ClassMethods"></a>
225 <table class="summary" border="1" cellpadding="3"
226        cellspacing="0" width="100%" bgcolor="white">
227 <tr bgcolor="#70b0f0" class="table-header">
228   <td colspan="2" class="table-header">
229     <table border="0" cellpadding="0" cellspacing="0" width="100%">
230       <tr valign="top">
231         <td align="left"><span class="table-header">Class Methods</span></td>
232         <td align="right" valign="top"
233          ><span class="options">[<a href="#section-ClassMethods"
234          class="privatelink" onclick="toggle_private();"
235          >hide private</a>]</span></td>
236       </tr>
237     </table>
238   </td>
239 </tr>
240   <tr>
241     <td colspan="2" class="summary">
242     <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
243       <code>setUpClass</code>,
244       <code>tearDownClass</code>
245       </p>
246     </td>
247   </tr>
248 </table>
249 <!-- ==================== CLASS VARIABLES ==================== -->
250 <a name="section-ClassVariables"></a>
251 <table class="summary" border="1" cellpadding="3"
252        cellspacing="0" width="100%" bgcolor="white">
253 <tr bgcolor="#70b0f0" class="table-header">
254   <td colspan="2" class="table-header">
255     <table border="0" cellpadding="0" cellspacing="0" width="100%">
256       <tr valign="top">
257         <td align="left"><span class="table-header">Class Variables</span></td>
258         <td align="right" valign="top"
259          ><span class="options">[<a href="#section-ClassVariables"
260          class="privatelink" onclick="toggle_private();"
261          >hide private</a>]</span></td>
262       </tr>
263     </table>
264   </td>
265 </tr>
266 <tr>
267     <td width="15%" align="right" valign="top" class="summary">
268       <span class="summary-type">&nbsp;</span>
269     </td><td class="summary">
270         <a href="xml.etree.ElementTree-module.html" class="summary-name">etree</a><br />
271       hash(x)
272     </td>
273   </tr>
274   <tr>
275     <td colspan="2" class="summary">
276     <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
277       <code>longMessage</code>,
278       <code>maxDiff</code>
279       </p>
280     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
281       <code>_classSetupFailed</code>,
282       <code>_diffThreshold</code>
283       </p></div>
284     </td>
285   </tr>
286 </table>
287 <!-- ==================== PROPERTIES ==================== -->
288 <a name="section-Properties"></a>
289 <table class="summary" border="1" cellpadding="3"
290        cellspacing="0" width="100%" bgcolor="white">
291 <tr bgcolor="#70b0f0" class="table-header">
292   <td colspan="2" class="table-header">
293     <table border="0" cellpadding="0" cellspacing="0" width="100%">
294       <tr valign="top">
295         <td align="left"><span class="table-header">Properties</span></td>
296         <td align="right" valign="top"
297          ><span class="options">[<a href="#section-Properties"
298          class="privatelink" onclick="toggle_private();"
299          >hide private</a>]</span></td>
300       </tr>
301     </table>
302   </td>
303 </tr>
304   <tr>
305     <td colspan="2" class="summary">
306     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
307       <code>__class__</code>
308       </p>
309     </td>
310   </tr>
311 </table>
312 <!-- ==================== CLASS VARIABLE DETAILS ==================== -->
313 <a name="section-ClassVariableDetails"></a>
314 <table class="details" border="1" cellpadding="3"
315        cellspacing="0" width="100%" bgcolor="white">
316 <tr bgcolor="#70b0f0" class="table-header">
317   <td colspan="2" class="table-header">
318     <table border="0" cellpadding="0" cellspacing="0" width="100%">
319       <tr valign="top">
320         <td align="left"><span class="table-header">Class Variable Details</span></td>
321         <td align="right" valign="top"
322          ><span class="options">[<a href="#section-ClassVariableDetails"
323          class="privatelink" onclick="toggle_private();"
324          >hide private</a>]</span></td>
325       </tr>
326     </table>
327   </td>
328 </tr>
329 </table>
330 <a name="etree"></a>
331 <div>
332 <table class="details" border="1" cellpadding="3"
333        cellspacing="0" width="100%" bgcolor="white">
334 <tr><td>
335   <h3 class="epydoc">etree</h3>
336   hash(x)
337   <dl class="fields">
338   </dl>
339   <dl class="fields">
340     <dt>Value:</dt>
341       <dd><a href="xml.etree.ElementTree-module.html">xml.etree.ElementTree</a></dd>
342   </dl>
343 </td></tr></table>
344 </div>
345 <br />
346 <!-- ==================== NAVIGATION BAR ==================== -->
347 <table class="navbar" border="0" width="100%" cellpadding="0"
348        bgcolor="#a0c0ff" cellspacing="0">
349   <tr valign="middle">
350   <!-- Home link -->
351       <th>&nbsp;&nbsp;&nbsp;<a
352         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
353
354   <!-- Tree link -->
355       <th>&nbsp;&nbsp;&nbsp;<a
356         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
357
358   <!-- Index link -->
359       <th>&nbsp;&nbsp;&nbsp;<a
360         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
361
362   <!-- Help link -->
363       <th>&nbsp;&nbsp;&nbsp;<a
364         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
365
366   <!-- Project homepage -->
367       <th class="navbar" align="right" width="100%">
368         <table border="0" cellpadding="0" cellspacing="0">
369           <tr><th class="navbar" align="center"
370             ><a class="navbar" target="_top" href="/">lxml API</a></th>
371           </tr></table></th>
372   </tr>
373 </table>
374 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
375   <tr>
376     <td align="left" class="footer">
377     Generated by Epydoc 3.0.1
378     on Thu Jul  9 18:29:53 2020
379     </td>
380     <td align="right" class="footer">
381       <a target="mainFrame" href="http://epydoc.sourceforge.net"
382         >http://epydoc.sourceforge.net</a>
383     </td>
384   </tr>
385 </table>
386
387 <script type="text/javascript">
388   <!--
389   // Private objects are initially displayed (because if
390   // javascript is turned off then we want them to be
391   // visible); but by default, we want to hide them.  So hide
392   // them unless we have a cookie that says to show them.
393   checkCookie();
394   // -->
395 </script>
396 </body>
397 </html>