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_relaxng.RelaxNGCompactTestCase</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_relaxng-module.html">Module test_relaxng</a> ::
48 Class RelaxNGCompactTestCase
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_relaxng.RelaxNGCompactTestCase-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class RelaxNGCompactTestCase</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.test_relaxng-pysrc.html#RelaxNGCompactTestCase">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">RelaxNGCompactTestCase</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_relaxng_compact"></a><span class="summary-sig-name">test_relaxng_compact</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_relaxng-pysrc.html#RelaxNGCompactTestCase.test_relaxng_compact">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_relaxng_compact_file_obj"></a><span class="summary-sig-name">test_relaxng_compact_file_obj</span>(<span class="summary-sig-arg">self</span>)</span></td>
142 <td align="right" valign="top">
143 <span class="codelink"><a href="lxml.tests.test_relaxng-pysrc.html#RelaxNGCompactTestCase.test_relaxng_compact_file_obj">source code</a></span>
152 <td width="15%" align="right" valign="top" class="summary">
153 <span class="summary-type"> </span>
154 </td><td class="summary">
155 <table width="100%" cellpadding="0" cellspacing="0" border="0">
157 <td><span class="summary-sig"><a name="test_relaxng_compact_str"></a><span class="summary-sig-name">test_relaxng_compact_str</span>(<span class="summary-sig-arg">self</span>)</span></td>
158 <td align="right" valign="top">
159 <span class="codelink"><a href="lxml.tests.test_relaxng-pysrc.html#RelaxNGCompactTestCase.test_relaxng_compact_str">source code</a></span>
168 <td colspan="2" class="summary">
169 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.tests.common_imports.HelperTestCase-class.html">common_imports.HelperTestCase</a></code></b>:
170 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#parse">parse</a></code>,
171 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#tearDown">tearDown</a></code>
173 <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):
174 <code><a href="lxml.tests.common_imports.HelperTestCase-class.html#_rootstring" onclick="show_private();">_rootstring</a></code>
176 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
177 <code>__call__</code>,
179 <code>__hash__</code>,
180 <code>__init__</code>,
182 <code>__repr__</code>,
183 <code>__str__</code>,
184 <code>addCleanup</code>,
185 <code>addTypeEqualityFunc</code>,
186 <code>assertAlmostEqual</code>,
187 <code>assertAlmostEquals</code>,
188 <code>assertDictContainsSubset</code>,
189 <code>assertDictEqual</code>,
190 <code>assertEqual</code>,
191 <code>assertEquals</code>,
192 <code>assertFalse</code>,
193 <code>assertGreater</code>,
194 <code>assertGreaterEqual</code>,
195 <code>assertIn</code>,
196 <code>assertIs</code>,
197 <code>assertIsInstance</code>,
198 <code>assertIsNone</code>,
199 <code>assertIsNot</code>,
200 <code>assertIsNotNone</code>,
201 <code>assertItemsEqual</code>,
202 <code>assertLess</code>,
203 <code>assertLessEqual</code>,
204 <code>assertListEqual</code>,
205 <code>assertMultiLineEqual</code>,
206 <code>assertNotAlmostEqual</code>,
207 <code>assertNotAlmostEquals</code>,
208 <code>assertNotEqual</code>,
209 <code>assertNotEquals</code>,
210 <code>assertNotIn</code>,
211 <code>assertNotIsInstance</code>,
212 <code>assertNotRegexpMatches</code>,
213 <code>assertRaises</code>,
214 <code>assertRaisesRegexp</code>,
215 <code>assertRegexpMatches</code>,
216 <code>assertSequenceEqual</code>,
217 <code>assertSetEqual</code>,
218 <code>assertTrue</code>,
219 <code>assertTupleEqual</code>,
220 <code>assert_</code>,
221 <code>countTestCases</code>,
223 <code>defaultTestResult</code>,
224 <code>doCleanups</code>,
227 <code>failIfAlmostEqual</code>,
228 <code>failIfEqual</code>,
229 <code>failUnless</code>,
230 <code>failUnlessAlmostEqual</code>,
231 <code>failUnlessEqual</code>,
232 <code>failUnlessRaises</code>,
236 <code>shortDescription</code>,
237 <code>skipTest</code>
239 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
240 <code>_addSkip</code>,
241 <code>_baseAssertEqual</code>,
242 <code>_deprecate</code>,
243 <code>_formatMessage</code>,
244 <code>_getAssertEqualityFunc</code>,
245 <code>_truncateMessage</code>
247 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
248 <code>__delattr__</code>,
249 <code>__format__</code>,
250 <code>__getattribute__</code>,
251 <code>__new__</code>,
252 <code>__reduce__</code>,
253 <code>__reduce_ex__</code>,
254 <code>__setattr__</code>,
255 <code>__sizeof__</code>,
256 <code>__subclasshook__</code>
261 <!-- ==================== CLASS METHODS ==================== -->
262 <a name="section-ClassMethods"></a>
263 <table class="summary" border="1" cellpadding="3"
264 cellspacing="0" width="100%" bgcolor="white">
265 <tr bgcolor="#70b0f0" class="table-header">
266 <td colspan="2" class="table-header">
267 <table border="0" cellpadding="0" cellspacing="0" width="100%">
269 <td align="left"><span class="table-header">Class Methods</span></td>
270 <td align="right" valign="top"
271 ><span class="options">[<a href="#section-ClassMethods"
272 class="privatelink" onclick="toggle_private();"
273 >hide private</a>]</span></td>
279 <td colspan="2" class="summary">
280 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
281 <code>setUpClass</code>,
282 <code>tearDownClass</code>
287 <!-- ==================== CLASS VARIABLES ==================== -->
288 <a name="section-ClassVariables"></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">Class Variables</span></td>
296 <td align="right" valign="top"
297 ><span class="options">[<a href="#section-ClassVariables"
298 class="privatelink" onclick="toggle_private();"
299 >hide private</a>]</span></td>
305 <td width="15%" align="right" valign="top" class="summary">
306 <span class="summary-type"> </span>
307 </td><td class="summary">
308 <a name="pytestmark"></a><span class="summary-name">pytestmark</span> = <code title="<lxml.tests.common_imports.skipif object>"><lxml.tests.common_imports.skipif object></code>
312 <td colspan="2" class="summary">
313 <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b>:
314 <code>longMessage</code>,
317 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unittest.case.TestCase</code></b> (private):
318 <code>_classSetupFailed</code>,
319 <code>_diffThreshold</code>
324 <!-- ==================== PROPERTIES ==================== -->
325 <a name="section-Properties"></a>
326 <table class="summary" border="1" cellpadding="3"
327 cellspacing="0" width="100%" bgcolor="white">
328 <tr bgcolor="#70b0f0" class="table-header">
329 <td colspan="2" class="table-header">
330 <table border="0" cellpadding="0" cellspacing="0" width="100%">
332 <td align="left"><span class="table-header">Properties</span></td>
333 <td align="right" valign="top"
334 ><span class="options">[<a href="#section-Properties"
335 class="privatelink" onclick="toggle_private();"
336 >hide private</a>]</span></td>
342 <td colspan="2" class="summary">
343 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
344 <code>__class__</code>
349 <!-- ==================== NAVIGATION BAR ==================== -->
350 <table class="navbar" border="0" width="100%" cellpadding="0"
351 bgcolor="#a0c0ff" cellspacing="0">
354 <th> <a
355 href="lxml-module.html">Home</a> </th>
358 <th> <a
359 href="module-tree.html">Trees</a> </th>
362 <th> <a
363 href="identifier-index.html">Indices</a> </th>
366 <th> <a
367 href="help.html">Help</a> </th>
369 <!-- Project homepage -->
370 <th class="navbar" align="right" width="100%">
371 <table border="0" cellpadding="0" cellspacing="0">
372 <tr><th class="navbar" align="center"
373 ><a class="navbar" target="_top" href="/">lxml API</a></th>
377 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
379 <td align="left" class="footer">
380 Generated by Epydoc 3.0.1
381 on Wed Jan 29 12:26:21 2020
383 <td align="right" class="footer">
384 <a target="mainFrame" href="http://epydoc.sourceforge.net"
385 >http://epydoc.sourceforge.net</a>
390 <script type="text/javascript">
392 // Private objects are initially displayed (because if
393 // javascript is turned off then we want them to be
394 // visible); but by default, we want to hide them. So hide
395 // them unless we have a cookie that says to show them.