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.html.usedoctest</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> ::
47 Module usedoctest
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="lxml.html.usedoctest-module.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== MODULE DESCRIPTION ==================== -->
64 <h1 class="epydoc">Module usedoctest</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.html.usedoctest-pysrc.html">source code</a></span></p>
65 <p>Doctest module for HTML comparison.</p>
67 <pre class="rst-literal-block">
68 >>> import lxml.html.usedoctest
69 >>> # now do your HTML doctests ...
71 <p>See <a href="lxml.doctestcompare-module.html" class="link">lxml.doctestcompare</a>.</p>
73 <!-- ==================== NAVIGATION BAR ==================== -->
74 <table class="navbar" border="0" width="100%" cellpadding="0"
75 bgcolor="#a0c0ff" cellspacing="0">
78 <th> <a
79 href="lxml-module.html">Home</a> </th>
82 <th> <a
83 href="module-tree.html">Trees</a> </th>
86 <th> <a
87 href="identifier-index.html">Indices</a> </th>
90 <th> <a
91 href="help.html">Help</a> </th>
93 <!-- Project homepage -->
94 <th class="navbar" align="right" width="100%">
95 <table border="0" cellpadding="0" cellspacing="0">
96 <tr><th class="navbar" align="center"
97 ><a class="navbar" target="_top" href="/">lxml API</a></th>
101 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
103 <td align="left" class="footer">
104 Generated by Epydoc 3.0.1
105 on Wed Jan 29 12:26:21 2020
107 <td align="right" class="footer">
108 <a target="mainFrame" href="http://epydoc.sourceforge.net"
109 >http://epydoc.sourceforge.net</a>
114 <script type="text/javascript">
116 // Private objects are initially displayed (because if
117 // javascript is turned off then we want them to be
118 // visible); but by default, we want to hide them. So hide
119 // them unless we have a cookie that says to show them.