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