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_etree.ETreeErrorLogTest</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_etree-module.html">Module test_etree</a> ::
48 Class ETreeErrorLogTest
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_etree.ETreeErrorLogTest-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class ETreeErrorLogTest</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_etree-pysrc.html#ETreeErrorLogTest">source code</a></span></p>
66 <pre class="base-tree">
69 unittest.case.TestCase --+
71 <a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a> --+
73 <strong class="uidshort">ETreeErrorLogTest</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 width="15%" align="right" valign="top" class="summary">
121 <span class="summary-type"> </span>
122 </td><td class="summary">
123 <table width="100%" cellpadding="0" cellspacing="0" border="0">
125 <td><span class="summary-sig"><a name="test_parse_error_logging"></a><span class="summary-sig-name">test_parse_error_logging</span>(<span class="summary-sig-arg">self</span>)</span></td>
126 <td align="right" valign="top">
127 <span class="codelink"><a href="lxml.tests.test_etree-pysrc.html#ETreeErrorLogTest.test_parse_error_logging">source code</a></span>
136 <td width="15%" align="right" valign="top" class="summary">
137 <span class="summary-type"> </span>
138 </td><td class="summary">
139 <table width="100%" cellpadding="0" cellspacing="0" border="0">
141 <td><span class="summary-sig"><a name="_test_python_error_logging"></a><span class="summary-sig-name">_test_python_error_logging</span>(<span class="summary-sig-arg">self</span>)</span><br />
142 This can't really be tested as long as there isn't a way to
143 reset the logging setup ...</td>
144 <td align="right" valign="top">
145 <span class="codelink"><a href="lxml.tests.test_etree-pysrc.html#ETreeErrorLogTest._test_python_error_logging">source code</a></span>
154 <td colspan="2" class="summary">
155 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
156 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#parse">parse</a></code>,
157 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#tearDown">tearDown</a></code>
159 <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):
160 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#_rootstring" onclick="show_private();">_rootstring</a></code>
162 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
163 <code>__call__</code>,
165 <code>__hash__</code>,
166 <code>__init__</code>,
168 <code>__repr__</code>,
169 <code>__str__</code>,
170 <code>addCleanup</code>,
171 <code>addTypeEqualityFunc</code>,
172 <code>assertAlmostEqual</code>,
173 <code>assertAlmostEquals</code>,
174 <code>assertDictContainsSubset</code>,
175 <code>assertDictEqual</code>,
176 <code>assertEqual</code>,
177 <code>assertEquals</code>,
178 <code>assertFalse</code>,
179 <code>assertGreater</code>,
180 <code>assertGreaterEqual</code>,
181 <code>assertIn</code>,
182 <code>assertIs</code>,
183 <code>assertIsInstance</code>,
184 <code>assertIsNone</code>,
185 <code>assertIsNot</code>,
186 <code>assertIsNotNone</code>,
187 <code>assertItemsEqual</code>,
188 <code>assertLess</code>,
189 <code>assertLessEqual</code>,
190 <code>assertListEqual</code>,
191 <code>assertMultiLineEqual</code>,
192 <code>assertNotAlmostEqual</code>,
193 <code>assertNotAlmostEquals</code>,
194 <code>assertNotEqual</code>,
195 <code>assertNotEquals</code>,
196 <code>assertNotIn</code>,
197 <code>assertNotIsInstance</code>,
198 <code>assertNotRegexpMatches</code>,
199 <code>assertRaises</code>,
200 <code>assertRaisesRegexp</code>,
201 <code>assertRegexpMatches</code>,
202 <code>assertSequenceEqual</code>,
203 <code>assertSetEqual</code>,
204 <code>assertTrue</code>,
205 <code>assertTupleEqual</code>,
206 <code>assert_</code>,
207 <code>countTestCases</code>,
209 <code>defaultTestResult</code>,
210 <code>doCleanups</code>,
213 <code>failIfAlmostEqual</code>,
214 <code>failIfEqual</code>,
215 <code>failUnless</code>,
216 <code>failUnlessAlmostEqual</code>,
217 <code>failUnlessEqual</code>,
218 <code>failUnlessRaises</code>,
222 <code>shortDescription</code>,
223 <code>skipTest</code>
225 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
226 <code>_addSkip</code>,
227 <code>_baseAssertEqual</code>,
228 <code>_deprecate</code>,
229 <code>_formatMessage</code>,
230 <code>_getAssertEqualityFunc</code>,
231 <code>_truncateMessage</code>
233 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
234 <code>__delattr__</code>,
235 <code>__format__</code>,
236 <code>__getattribute__</code>,
237 <code>__new__</code>,
238 <code>__reduce__</code>,
239 <code>__reduce_ex__</code>,
240 <code>__setattr__</code>,
241 <code>__sizeof__</code>,
242 <code>__subclasshook__</code>
247 <!-- ==================== CLASS METHODS ==================== -->
248 <a name="section-ClassMethods"></a>
249 <table class="summary" border="1" cellpadding="3"
250 cellspacing="0" width="100%" bgcolor="white">
251 <tr bgcolor="#70b0f0" class="table-header">
252 <td colspan="2" class="table-header">
253 <table border="0" cellpadding="0" cellspacing="0" width="100%">
255 <td align="left"><span class="table-header">Class Methods</span></td>
256 <td align="right" valign="top"
257 ><span class="options">[<a href="#section-ClassMethods"
258 class="privatelink" onclick="toggle_private();"
259 >hide private</a>]</span></td>
265 <td colspan="2" class="summary">
266 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
267 <code>setUpClass</code>,
268 <code>tearDownClass</code>
273 <!-- ==================== CLASS VARIABLES ==================== -->
274 <a name="section-ClassVariables"></a>
275 <table class="summary" border="1" cellpadding="3"
276 cellspacing="0" width="100%" bgcolor="white">
277 <tr bgcolor="#70b0f0" class="table-header">
278 <td colspan="2" class="table-header">
279 <table border="0" cellpadding="0" cellspacing="0" width="100%">
281 <td align="left"><span class="table-header">Class Variables</span></td>
282 <td align="right" valign="top"
283 ><span class="options">[<a href="#section-ClassVariables"
284 class="privatelink" onclick="toggle_private();"
285 >hide private</a>]</span></td>
291 <td width="15%" align="right" valign="top" class="summary">
292 <span class="summary-type"> </span>
293 </td><td class="summary">
294 <a href="lxml.etree-module.html" class="summary-name">etree</a><br />
295 The <tt class="rst-docutils literal">lxml.etree</tt> module implements the extended ElementTree API for XML.
299 <td colspan="2" class="summary">
300 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
301 <code>longMessage</code>,
304 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
305 <code>_classSetupFailed</code>,
306 <code>_diffThreshold</code>
311 <!-- ==================== PROPERTIES ==================== -->
312 <a name="section-Properties"></a>
313 <table class="summary" border="1" cellpadding="3"
314 cellspacing="0" width="100%" bgcolor="white">
315 <tr bgcolor="#70b0f0" class="table-header">
316 <td colspan="2" class="table-header">
317 <table border="0" cellpadding="0" cellspacing="0" width="100%">
319 <td align="left"><span class="table-header">Properties</span></td>
320 <td align="right" valign="top"
321 ><span class="options">[<a href="#section-Properties"
322 class="privatelink" onclick="toggle_private();"
323 >hide private</a>]</span></td>
329 <td colspan="2" class="summary">
330 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
331 <code>__class__</code>
336 <!-- ==================== CLASS VARIABLE DETAILS ==================== -->
337 <a name="section-ClassVariableDetails"></a>
338 <table class="details" border="1" cellpadding="3"
339 cellspacing="0" width="100%" bgcolor="white">
340 <tr bgcolor="#70b0f0" class="table-header">
341 <td colspan="2" class="table-header">
342 <table border="0" cellpadding="0" cellspacing="0" width="100%">
344 <td align="left"><span class="table-header">Class Variable Details</span></td>
345 <td align="right" valign="top"
346 ><span class="options">[<a href="#section-ClassVariableDetails"
347 class="privatelink" onclick="toggle_private();"
348 >hide private</a>]</span></td>
356 <table class="details" border="1" cellpadding="3"
357 cellspacing="0" width="100%" bgcolor="white">
359 <h3 class="epydoc">etree</h3>
360 The <tt class="rst-docutils literal">lxml.etree</tt> module implements the extended ElementTree API for XML.
365 <dd><a href="lxml.etree-module.html">lxml.etree</a></dd>
370 <!-- ==================== NAVIGATION BAR ==================== -->
371 <table class="navbar" border="0" width="100%" cellpadding="0"
372 bgcolor="#a0c0ff" cellspacing="0">
375 <th> <a
376 href="lxml-module.html">Home</a> </th>
379 <th> <a
380 href="module-tree.html">Trees</a> </th>
383 <th> <a
384 href="identifier-index.html">Indices</a> </th>
387 <th> <a
388 href="help.html">Help</a> </th>
390 <!-- Project homepage -->
391 <th class="navbar" align="right" width="100%">
392 <table border="0" cellpadding="0" cellspacing="0">
393 <tr><th class="navbar" align="center"
394 ><a class="navbar" target="_top" href="/">lxml API</a></th>
398 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
400 <td align="left" class="footer">
401 Generated by Epydoc 3.0.1
402 on Thu Jul 9 18:29:53 2020
404 <td align="right" class="footer">
405 <a target="mainFrame" href="http://epydoc.sourceforge.net"
406 >http://epydoc.sourceforge.net</a>
411 <script type="text/javascript">
413 // Private objects are initially displayed (because if
414 // javascript is turned off then we want them to be
415 // visible); but by default, we want to hide them. So hide
416 // them unless we have a cookie that says to show them.