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_xpathevaluator.ETreeXPathClassTestCase</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_xpathevaluator-module.html">Module test_xpathevaluator</a> ::
48 Class ETreeXPathClassTestCase
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_xpathevaluator.ETreeXPathClassTestCase-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class ETreeXPathClassTestCase</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase">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">ETreeXPathClassTestCase</strong>
77 Tests for the XPath class
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%">
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>
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>
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%">
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>
122 <td width="15%" align="right" valign="top" class="summary">
123 <span class="summary-type"> </span>
124 </td><td class="summary">
125 <table width="100%" cellpadding="0" cellspacing="0" border="0">
127 <td><span class="summary-sig"><a name="test_xpath_compile_doc"></a><span class="summary-sig-name">test_xpath_compile_doc</span>(<span class="summary-sig-arg">self</span>)</span></td>
128 <td align="right" valign="top">
129 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_doc">source code</a></span>
138 <td width="15%" align="right" valign="top" class="summary">
139 <span class="summary-type"> </span>
140 </td><td class="summary">
141 <table width="100%" cellpadding="0" cellspacing="0" border="0">
143 <td><span class="summary-sig"><a name="test_xpath_compile_element"></a><span class="summary-sig-name">test_xpath_compile_element</span>(<span class="summary-sig-arg">self</span>)</span></td>
144 <td align="right" valign="top">
145 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_element">source code</a></span>
154 <td width="15%" align="right" valign="top" class="summary">
155 <span class="summary-type"> </span>
156 </td><td class="summary">
157 <table width="100%" cellpadding="0" cellspacing="0" border="0">
159 <td><span class="summary-sig"><a name="test_xpath_compile_vars"></a><span class="summary-sig-name">test_xpath_compile_vars</span>(<span class="summary-sig-arg">self</span>)</span></td>
160 <td align="right" valign="top">
161 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_vars">source code</a></span>
170 <td width="15%" align="right" valign="top" class="summary">
171 <span class="summary-type"> </span>
172 </td><td class="summary">
173 <table width="100%" cellpadding="0" cellspacing="0" border="0">
175 <td><span class="summary-sig"><a name="test_xpath_compile_error"></a><span class="summary-sig-name">test_xpath_compile_error</span>(<span class="summary-sig-arg">self</span>)</span></td>
176 <td align="right" valign="top">
177 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_compile_error">source code</a></span>
186 <td width="15%" align="right" valign="top" class="summary">
187 <span class="summary-type"> </span>
188 </td><td class="summary">
189 <table width="100%" cellpadding="0" cellspacing="0" border="0">
191 <td><span class="summary-sig"><a name="test_xpath_elementtree_error"></a><span class="summary-sig-name">test_xpath_elementtree_error</span>(<span class="summary-sig-arg">self</span>)</span></td>
192 <td align="right" valign="top">
193 <span class="codelink"><a href="lxml.tests.test_xpathevaluator-pysrc.html#ETreeXPathClassTestCase.test_xpath_elementtree_error">source code</a></span>
202 <td colspan="2" class="summary">
203 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
204 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#parse">parse</a></code>,
205 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#tearDown">tearDown</a></code>
207 <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):
208 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#_rootstring" onclick="show_private();">_rootstring</a></code>
210 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
211 <code>__call__</code>,
213 <code>__hash__</code>,
214 <code>__init__</code>,
216 <code>__repr__</code>,
217 <code>__str__</code>,
218 <code>addCleanup</code>,
219 <code>addTypeEqualityFunc</code>,
220 <code>assertAlmostEqual</code>,
221 <code>assertAlmostEquals</code>,
222 <code>assertDictContainsSubset</code>,
223 <code>assertDictEqual</code>,
224 <code>assertEqual</code>,
225 <code>assertEquals</code>,
226 <code>assertFalse</code>,
227 <code>assertGreater</code>,
228 <code>assertGreaterEqual</code>,
229 <code>assertIn</code>,
230 <code>assertIs</code>,
231 <code>assertIsInstance</code>,
232 <code>assertIsNone</code>,
233 <code>assertIsNot</code>,
234 <code>assertIsNotNone</code>,
235 <code>assertItemsEqual</code>,
236 <code>assertLess</code>,
237 <code>assertLessEqual</code>,
238 <code>assertListEqual</code>,
239 <code>assertMultiLineEqual</code>,
240 <code>assertNotAlmostEqual</code>,
241 <code>assertNotAlmostEquals</code>,
242 <code>assertNotEqual</code>,
243 <code>assertNotEquals</code>,
244 <code>assertNotIn</code>,
245 <code>assertNotIsInstance</code>,
246 <code>assertNotRegexpMatches</code>,
247 <code>assertRaises</code>,
248 <code>assertRaisesRegexp</code>,
249 <code>assertRegexpMatches</code>,
250 <code>assertSequenceEqual</code>,
251 <code>assertSetEqual</code>,
252 <code>assertTrue</code>,
253 <code>assertTupleEqual</code>,
254 <code>assert_</code>,
255 <code>countTestCases</code>,
257 <code>defaultTestResult</code>,
258 <code>doCleanups</code>,
261 <code>failIfAlmostEqual</code>,
262 <code>failIfEqual</code>,
263 <code>failUnless</code>,
264 <code>failUnlessAlmostEqual</code>,
265 <code>failUnlessEqual</code>,
266 <code>failUnlessRaises</code>,
270 <code>shortDescription</code>,
271 <code>skipTest</code>
273 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
274 <code>_addSkip</code>,
275 <code>_baseAssertEqual</code>,
276 <code>_deprecate</code>,
277 <code>_formatMessage</code>,
278 <code>_getAssertEqualityFunc</code>,
279 <code>_truncateMessage</code>
281 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
282 <code>__delattr__</code>,
283 <code>__format__</code>,
284 <code>__getattribute__</code>,
285 <code>__new__</code>,
286 <code>__reduce__</code>,
287 <code>__reduce_ex__</code>,
288 <code>__setattr__</code>,
289 <code>__sizeof__</code>,
290 <code>__subclasshook__</code>
295 <!-- ==================== CLASS METHODS ==================== -->
296 <a name="section-ClassMethods"></a>
297 <table class="summary" border="1" cellpadding="3"
298 cellspacing="0" width="100%" bgcolor="white">
299 <tr bgcolor="#70b0f0" class="table-header">
300 <td colspan="2" class="table-header">
301 <table border="0" cellpadding="0" cellspacing="0" width="100%">
303 <td align="left"><span class="table-header">Class Methods</span></td>
304 <td align="right" valign="top"
305 ><span class="options">[<a href="#section-ClassMethods"
306 class="privatelink" onclick="toggle_private();"
307 >hide private</a>]</span></td>
313 <td colspan="2" class="summary">
314 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
315 <code>setUpClass</code>,
316 <code>tearDownClass</code>
321 <!-- ==================== CLASS VARIABLES ==================== -->
322 <a name="section-ClassVariables"></a>
323 <table class="summary" border="1" cellpadding="3"
324 cellspacing="0" width="100%" bgcolor="white">
325 <tr bgcolor="#70b0f0" class="table-header">
326 <td colspan="2" class="table-header">
327 <table border="0" cellpadding="0" cellspacing="0" width="100%">
329 <td align="left"><span class="table-header">Class Variables</span></td>
330 <td align="right" valign="top"
331 ><span class="options">[<a href="#section-ClassVariables"
332 class="privatelink" onclick="toggle_private();"
333 >hide private</a>]</span></td>
339 <td colspan="2" class="summary">
340 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
341 <code>longMessage</code>,
344 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
345 <code>_classSetupFailed</code>,
346 <code>_diffThreshold</code>
351 <!-- ==================== PROPERTIES ==================== -->
352 <a name="section-Properties"></a>
353 <table class="summary" border="1" cellpadding="3"
354 cellspacing="0" width="100%" bgcolor="white">
355 <tr bgcolor="#70b0f0" class="table-header">
356 <td colspan="2" class="table-header">
357 <table border="0" cellpadding="0" cellspacing="0" width="100%">
359 <td align="left"><span class="table-header">Properties</span></td>
360 <td align="right" valign="top"
361 ><span class="options">[<a href="#section-Properties"
362 class="privatelink" onclick="toggle_private();"
363 >hide private</a>]</span></td>
369 <td colspan="2" class="summary">
370 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
371 <code>__class__</code>
376 <!-- ==================== NAVIGATION BAR ==================== -->
377 <table class="navbar" border="0" width="100%" cellpadding="0"
378 bgcolor="#a0c0ff" cellspacing="0">
381 <th> <a
382 href="lxml-module.html">Home</a> </th>
385 <th> <a
386 href="module-tree.html">Trees</a> </th>
389 <th> <a
390 href="identifier-index.html">Indices</a> </th>
393 <th> <a
394 href="help.html">Help</a> </th>
396 <!-- Project homepage -->
397 <th class="navbar" align="right" width="100%">
398 <table border="0" cellpadding="0" cellspacing="0">
399 <tr><th class="navbar" align="center"
400 ><a class="navbar" target="_top" href="/">lxml API</a></th>
404 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
406 <td align="left" class="footer">
407 Generated by Epydoc 3.0.1
408 on Fri Feb 8 19:32:40 2019
410 <td align="right" class="footer">
411 <a target="mainFrame" href="http://epydoc.sourceforge.net"
412 >http://epydoc.sourceforge.net</a>
417 <script type="text/javascript">
419 // Private objects are initially displayed (because if
420 // javascript is turned off then we want them to be
421 // visible); but by default, we want to hide them. So hide
422 // them unless we have a cookie that says to show them.