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">
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>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
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>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.tests-module.html">Package tests</a> ::
47 <a href="lxml.tests.test_elementtree-module.html">Module test_elementtree</a> ::
48 Class ElementTreeElementSlicingTest
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 private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.tests.test_elementtree.ElementTreeElementSlicingTest-class.html"
59 target="_top">no frames</a>]</span></td></tr>
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 code</a></span></p>
66 <pre class="base-tree">
69 unittest.case.TestCase --+
71 <a href="lxml.tests.test_elementtree._ElementSlicingTest-class.html" onclick="show_private();">_ElementSlicingTest</a> --+
73 <strong class="uidshort">ElementTreeElementSlicingTest</strong>
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%">
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>
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>
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%">
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>
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>
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>
137 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
138 <code>__call__</code>,
140 <code>__hash__</code>,
141 <code>__init__</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>,
184 <code>defaultTestResult</code>,
185 <code>doCleanups</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>,
197 <code>shortDescription</code>,
198 <code>skipTest</code>,
199 <code>tearDown</code>
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>
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>
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%">
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>
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>
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%">
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>
267 <td width="15%" align="right" valign="top" class="summary">
268 <span class="summary-type"> </span>
269 </td><td class="summary">
270 <a href="xml.etree.ElementTree-module.html" class="summary-name">etree</a><br />
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>,
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>
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%">
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>
305 <td colspan="2" class="summary">
306 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
307 <code>__class__</code>
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%">
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>
332 <table class="details" border="1" cellpadding="3"
333 cellspacing="0" width="100%" bgcolor="white">
335 <h3 class="epydoc">etree</h3>
341 <dd><a href="xml.etree.ElementTree-module.html">xml.etree.ElementTree</a></dd>
346 <!-- ==================== NAVIGATION BAR ==================== -->
347 <table class="navbar" border="0" width="100%" cellpadding="0"
348 bgcolor="#a0c0ff" cellspacing="0">
351 <th> <a
352 href="lxml-module.html">Home</a> </th>
355 <th> <a
356 href="module-tree.html">Trees</a> </th>
359 <th> <a
360 href="identifier-index.html">Indices</a> </th>
363 <th> <a
364 href="help.html">Help</a> </th>
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>
374 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
376 <td align="left" class="footer">
377 Generated by Epydoc 3.0.1
378 on Thu Jul 9 18:29:53 2020
380 <td align="right" class="footer">
381 <a target="mainFrame" href="http://epydoc.sourceforge.net"
382 >http://epydoc.sourceforge.net</a>
387 <script type="text/javascript">
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.