File: unittest.html

package info (click to toggle)
python-unit 1.4.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 300 kB
  • ctags: 368
  • sloc: python: 844; makefile: 75; sh: 42
file content (468 lines) | stat: -rw-r--r-- 46,523 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><title>unittest</title><body bgcolor="#ffffff">

<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#7799ee"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>&nbsp;unittest</strong></big></big> (version: 1.20)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial">&nbsp;</font></td></tr>
</table><p><small><tt><br>
Python&nbsp;unit&nbsp;testing&nbsp;framework,&nbsp;based&nbsp;on&nbsp;Erich&nbsp;Gamma's&nbsp;JUnit&nbsp;and&nbsp;Kent&nbsp;Beck's<br>
Smalltalk&nbsp;testing&nbsp;framework.<br>
&nbsp;<br>
Further&nbsp;information&nbsp;is&nbsp;available&nbsp;in&nbsp;the&nbsp;bundled&nbsp;documentation,&nbsp;and&nbsp;from<br>
&nbsp;<br>
&nbsp;&nbsp;http://pyunit.sourceforge.net/<br>
&nbsp;<br>
This&nbsp;module&nbsp;contains&nbsp;the&nbsp;core&nbsp;framework&nbsp;classes&nbsp;that&nbsp;form&nbsp;the&nbsp;basis&nbsp;of<br>
specific&nbsp;test&nbsp;cases&nbsp;and&nbsp;suites&nbsp;(<a href="#TestCase">TestCase</a>,&nbsp;<a href="#TestSuite">TestSuite</a>&nbsp;etc.),&nbsp;and&nbsp;also&nbsp;a<br>
text-based&nbsp;utility&nbsp;class&nbsp;for&nbsp;running&nbsp;the&nbsp;tests&nbsp;and&nbsp;reporting&nbsp;the&nbsp;results<br>
(<a href="#TextTestRunner">TextTestRunner</a>).<br>
&nbsp;<br>
Copyright&nbsp;(c)&nbsp;1999,&nbsp;2000,&nbsp;2001&nbsp;Steve&nbsp;Purcell<br>
This&nbsp;module&nbsp;is&nbsp;free&nbsp;software,&nbsp;and&nbsp;you&nbsp;may&nbsp;redistribute&nbsp;it&nbsp;and/or&nbsp;modify<br>
it&nbsp;under&nbsp;the&nbsp;same&nbsp;terms&nbsp;as&nbsp;Python&nbsp;itself,&nbsp;so&nbsp;long&nbsp;as&nbsp;this&nbsp;copyright&nbsp;message<br>
and&nbsp;disclaimer&nbsp;are&nbsp;retained&nbsp;in&nbsp;their&nbsp;original&nbsp;form.<br>
&nbsp;<br>
IN&nbsp;NO&nbsp;EVENT&nbsp;SHALL&nbsp;THE&nbsp;AUTHOR&nbsp;BE&nbsp;LIABLE&nbsp;TO&nbsp;ANY&nbsp;PARTY&nbsp;FOR&nbsp;DIRECT,&nbsp;INDIRECT,<br>
SPECIAL,&nbsp;INCIDENTAL,&nbsp;OR&nbsp;CONSEQUENTIAL&nbsp;DAMAGES&nbsp;ARISING&nbsp;OUT&nbsp;OF&nbsp;THE&nbsp;USE&nbsp;OF<br>
THIS&nbsp;CODE,&nbsp;EVEN&nbsp;IF&nbsp;THE&nbsp;AUTHOR&nbsp;HAS&nbsp;BEEN&nbsp;ADVISED&nbsp;OF&nbsp;THE&nbsp;POSSIBILITY&nbsp;OF&nbsp;SUCH<br>
DAMAGE.<br>
&nbsp;<br>
THE&nbsp;AUTHOR&nbsp;SPECIFICALLY&nbsp;DISCLAIMS&nbsp;ANY&nbsp;WARRANTIES,&nbsp;INCLUDING,&nbsp;BUT&nbsp;NOT<br>
LIMITED&nbsp;TO,&nbsp;THE&nbsp;IMPLIED&nbsp;WARRANTIES&nbsp;OF&nbsp;MERCHANTABILITY&nbsp;AND&nbsp;FITNESS&nbsp;FOR&nbsp;A<br>
PARTICULAR&nbsp;PURPOSE.&nbsp;&nbsp;THE&nbsp;CODE&nbsp;PROVIDED&nbsp;HEREUNDER&nbsp;IS&nbsp;ON&nbsp;AN&nbsp;"AS&nbsp;IS"&nbsp;BASIS,<br>
AND&nbsp;THERE&nbsp;IS&nbsp;NO&nbsp;OBLIGATION&nbsp;WHATSOEVER&nbsp;TO&nbsp;PROVIDE&nbsp;MAINTENANCE,<br>
SUPPORT,&nbsp;UPDATES,&nbsp;ENHANCEMENTS,&nbsp;OR&nbsp;MODIFICATIONS.
</tt></small>


<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#aa55cc"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#fffff" face="helvetica, arial">&nbsp;<big><strong>Modules</strong></big></font></td></tr>

<tr><td bgcolor="#aa55cc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><table width="100%"><tr><td width="25%" valign=top><a href="os.html">os</a><br><a href="string.html">string</a><br></td><td width="25%" valign=top><a href="sys.html">sys</a><br><a href="time.html">time</a><br></td><td width="25%" valign=top><a href="traceback.html">traceback</a><br></td><td width="25%" valign=top></td></tr></table></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ee77aa"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#ffffff" face="helvetica, arial">&nbsp;<big><strong>Classes</strong></big></font></td></tr>

<tr><td bgcolor="#ee77aa">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl>
<dt><font face="helvetica, arial"><small><a href="#JUnitTextTestRunner">JUnitTextTestRunner</a>
</small></font></dt><dt><font face="helvetica, arial"><small><a href="#TestCase">TestCase</a>
</small></font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><small><a href="#FunctionTestCase">FunctionTestCase</a>
</small></font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><small><a href="#main">TestProgram</a>
</small></font></dt><dt><font face="helvetica, arial"><small><a href="#TestResult">TestResult</a>
</small></font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><small><a href="#_JUnitTextTestResult">_JUnitTextTestResult</a>
</small></font></dt><dt><font face="helvetica, arial"><small><a href="#_VerboseTextTestResult">_VerboseTextTestResult</a>
</small></font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><small><a href="#TestSuite">TestSuite</a>
</small></font></dt><dt><font face="helvetica, arial"><small><a href="#VerboseTextTestRunner">VerboseTextTestRunner</a>
</small></font></dt><dt><font face="helvetica, arial"><small><a href="#_WritelnDecorator">_WritelnDecorator</a>
</small></font></dt></dl>

<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="FunctionTestCase">class <strong>FunctionTestCase</strong></a>(<a href="#TestCase">TestCase</a>)</font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;case&nbsp;that&nbsp;wraps&nbsp;a&nbsp;test&nbsp;function.<br>
&nbsp;<br>
This&nbsp;is&nbsp;useful&nbsp;for&nbsp;slipping&nbsp;pre-existing&nbsp;test&nbsp;functions&nbsp;into&nbsp;the<br>
PyUnit&nbsp;framework.&nbsp;Optionally,&nbsp;set-up&nbsp;and&nbsp;tidy-up&nbsp;functions&nbsp;can&nbsp;be<br>
supplied.&nbsp;As&nbsp;with&nbsp;<a href="#TestCase">TestCase</a>,&nbsp;the&nbsp;tidy-up&nbsp;('tearDown')&nbsp;function&nbsp;will<br>
always&nbsp;be&nbsp;called&nbsp;if&nbsp;the&nbsp;set-up&nbsp;('setUp')&nbsp;function&nbsp;ran&nbsp;successfully.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="FunctionTestCase-__init__"
><strong>__init__</strong>(self, testFunc, setUp<small><font color="#a0a0a0">=None</font></small>, tearDown<small><font color="#a0a0a0">=None</font></small>, description<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-__repr__"
><strong>__repr__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-__str__"
><strong>__str__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-id"
><strong>id</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-runTest"
><strong>runTest</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-setUp"
><strong>setUp</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-shortDescription"
><strong>shortDescription</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="FunctionTestCase-tearDown"
><strong>tearDown</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="JUnitTextTestRunner">class <strong>JUnitTextTestRunner</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;runner&nbsp;class&nbsp;that&nbsp;displays&nbsp;results&nbsp;in&nbsp;textual&nbsp;form.<br>
&nbsp;<br>
The&nbsp;display&nbsp;format&nbsp;approximates&nbsp;that&nbsp;of&nbsp;JUnit's&nbsp;'textui'&nbsp;test&nbsp;runner.<br>
This&nbsp;test&nbsp;runner&nbsp;may&nbsp;be&nbsp;removed&nbsp;in&nbsp;a&nbsp;future&nbsp;version&nbsp;of&nbsp;PyUnit.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="JUnitTextTestRunner-__init__"
><strong>__init__</strong>(self, stream<small><font color="#a0a0a0">=&lt;open file '&lt;stderr&gt;', mode 'w' at 804ac88&gt;</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="JUnitTextTestRunner-run"
><strong>run</strong>(self, test)</a>
<dd><small><tt>Run&nbsp;the&nbsp;given&nbsp;test&nbsp;case&nbsp;or&nbsp;test&nbsp;suite.
</tt></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="TestCase">class <strong>TestCase</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;class&nbsp;whose&nbsp;instances&nbsp;are&nbsp;single&nbsp;test&nbsp;cases.<br>
&nbsp;<br>
Test&nbsp;authors&nbsp;should&nbsp;subclass&nbsp;<a href="#TestCase">TestCase</a>&nbsp;for&nbsp;their&nbsp;own&nbsp;tests.&nbsp;Construction&nbsp;<br>
and&nbsp;deconstruction&nbsp;of&nbsp;the&nbsp;test's&nbsp;environment&nbsp;('fixture')&nbsp;can&nbsp;be<br>
implemented&nbsp;by&nbsp;overriding&nbsp;the&nbsp;'setUp'&nbsp;and&nbsp;'tearDown'&nbsp;methods&nbsp;respectively.<br>
&nbsp;<br>
By&nbsp;default,&nbsp;the&nbsp;test&nbsp;code&nbsp;itself&nbsp;should&nbsp;be&nbsp;placed&nbsp;in&nbsp;a&nbsp;method&nbsp;named<br>
'runTest'.<br>
&nbsp;<br>
If&nbsp;the&nbsp;fixture&nbsp;may&nbsp;be&nbsp;used&nbsp;for&nbsp;many&nbsp;test&nbsp;cases,&nbsp;create&nbsp;as&nbsp;<br>
many&nbsp;test&nbsp;methods&nbsp;as&nbsp;are&nbsp;needed.&nbsp;When&nbsp;instantiating&nbsp;such&nbsp;a&nbsp;<a href="#TestCase">TestCase</a><br>
subclass,&nbsp;specify&nbsp;in&nbsp;the&nbsp;constructor&nbsp;arguments&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;test&nbsp;method<br>
that&nbsp;the&nbsp;instance&nbsp;is&nbsp;to&nbsp;execute.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="TestCase-__exc_info"
><strong>__exc_info</strong>(self)</a>
<dd><small><tt>Return&nbsp;a&nbsp;version&nbsp;of&nbsp;sys.exc_info()&nbsp;with&nbsp;the&nbsp;traceback&nbsp;frame</tt></small
><dd><small><tt>minimised;&nbsp;usually&nbsp;the&nbsp;top&nbsp;level&nbsp;of&nbsp;the&nbsp;traceback&nbsp;frame&nbsp;is&nbsp;not</tt></small
><dd><small><tt>needed.
</tt></small></dl><dl><dt><a name="TestCase-__call__"
><strong>__call__</strong>(self, result<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-__init__"
><strong>__init__</strong>(self, methodName<small><font color="#a0a0a0">='runTest'</font></small>)</a>
<dd><small><tt>Create&nbsp;an&nbsp;instance&nbsp;of&nbsp;the&nbsp;class&nbsp;that&nbsp;will&nbsp;use&nbsp;the&nbsp;named&nbsp;test</tt></small
><dd><small><tt>method&nbsp;when&nbsp;executed.&nbsp;Raises&nbsp;a&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;instance&nbsp;does</tt></small
><dd><small><tt>not&nbsp;have&nbsp;a&nbsp;method&nbsp;with&nbsp;the&nbsp;specified&nbsp;name.
</tt></small></dl><dl><dt><a name="TestCase-__repr__"
><strong>__repr__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-__str__"
><strong>__str__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-assertRaises"
><strong>assertRaises</strong>(self, excClass, callableObj, *args, **kwargs)</a>
<dd><small><tt>Assert&nbsp;that&nbsp;an&nbsp;exception&nbsp;of&nbsp;class&nbsp;excClass&nbsp;is&nbsp;thrown</tt></small
><dd><small><tt>by&nbsp;callableObj&nbsp;when&nbsp;invoked&nbsp;with&nbsp;arguments&nbsp;args&nbsp;and&nbsp;keyword</tt></small
><dd><small><tt>arguments&nbsp;kwargs.&nbsp;If&nbsp;a&nbsp;different&nbsp;type&nbsp;of&nbsp;exception&nbsp;is</tt></small
><dd><small><tt>thrown,&nbsp;it&nbsp;will&nbsp;not&nbsp;be&nbsp;caught,&nbsp;and&nbsp;the&nbsp;test&nbsp;case&nbsp;will&nbsp;be</tt></small
><dd><small><tt>deemed&nbsp;to&nbsp;have&nbsp;suffered&nbsp;an&nbsp;error,&nbsp;exactly&nbsp;as&nbsp;for&nbsp;an</tt></small
><dd><small><tt>unexpected&nbsp;exception.
</tt></small></dl><dl><dt><a name="TestCase-assert_"
><strong>assert_</strong>(self, expr, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><tt>Equivalent&nbsp;of&nbsp;built-in&nbsp;'assert',&nbsp;but&nbsp;is&nbsp;not&nbsp;optimised&nbsp;out&nbsp;when</tt></small
><dd><small><tt>__debug__&nbsp;is&nbsp;false.
</tt></small></dl><dl><dt><a name="TestCase-countTestCases"
><strong>countTestCases</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-defaultTestResult"
><strong>defaultTestResult</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-fail"
><strong>fail</strong>(self, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><tt>Fail&nbsp;immediately,&nbsp;with&nbsp;the&nbsp;given&nbsp;message.
</tt></small></dl><dl><dt><a name="TestCase-failIf"
><strong>failIf</strong>(self, expr, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><tt>Fail&nbsp;the&nbsp;test&nbsp;if&nbsp;the&nbsp;expression&nbsp;is&nbsp;true.
</tt></small></dl><dl><dt><a name="TestCase-assert_"
><strong>assert_</strong>(self, expr, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><tt>Equivalent&nbsp;of&nbsp;built-in&nbsp;'assert',&nbsp;but&nbsp;is&nbsp;not&nbsp;optimised&nbsp;out&nbsp;when</tt></small
><dd><small><tt>__debug__&nbsp;is&nbsp;false.
</tt></small></dl><dl><dt><a name="TestCase-id"
><strong>id</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-run"
><strong>run</strong>(self, result<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestCase-setUp"
><strong>setUp</strong>(self)</a>
<dd><small><tt>Hook&nbsp;method&nbsp;for&nbsp;setting&nbsp;up&nbsp;the&nbsp;test&nbsp;fixture&nbsp;before&nbsp;exercising&nbsp;it.
</tt></small></dl><dl><dt><a name="TestCase-shortDescription"
><strong>shortDescription</strong>(self)</a>
<dd><small><tt>Returns&nbsp;a&nbsp;one-line&nbsp;description&nbsp;of&nbsp;the&nbsp;test,&nbsp;or&nbsp;None&nbsp;if&nbsp;no</tt></small
><dd><small><tt>description&nbsp;has&nbsp;been&nbsp;provided.</tt></small
><dd><small><tt>&nbsp;</tt></small
><dd><small><tt>The&nbsp;default&nbsp;implementation&nbsp;of&nbsp;this&nbsp;method&nbsp;returns&nbsp;the&nbsp;first&nbsp;line&nbsp;of</tt></small
><dd><small><tt>the&nbsp;specified&nbsp;test&nbsp;method's&nbsp;docstring.
</tt></small></dl><dl><dt><a name="TestCase-tearDown"
><strong>tearDown</strong>(self)</a>
<dd><small><tt>Hook&nbsp;method&nbsp;for&nbsp;deconstructing&nbsp;the&nbsp;test&nbsp;fixture&nbsp;after&nbsp;testing&nbsp;it.
</tt></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="TestProgram">class <strong>TestProgram</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;command-line&nbsp;program&nbsp;that&nbsp;runs&nbsp;a&nbsp;set&nbsp;of&nbsp;tests;&nbsp;this&nbsp;is&nbsp;primarily<br>
for&nbsp;making&nbsp;test&nbsp;modules&nbsp;conveniently&nbsp;executable.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="TestProgram-__init__"
><strong>__init__</strong>(self, module<small><font color="#a0a0a0">='__main__'</font></small>, defaultTest<small><font color="#a0a0a0">=None</font></small>, argv<small><font color="#a0a0a0">=None</font></small>, testRunner<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-createTests"
><strong>createTests</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-parseArgs"
><strong>parseArgs</strong>(self, argv)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-runTests"
><strong>runTests</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-usageExit"
><strong>usageExit</strong>(self, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="TestResult">class <strong>TestResult</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>Holder&nbsp;for&nbsp;test&nbsp;result&nbsp;information.<br>
&nbsp;<br>
Test&nbsp;results&nbsp;are&nbsp;automatically&nbsp;managed&nbsp;by&nbsp;the&nbsp;<a href="#TestCase">TestCase</a>&nbsp;and&nbsp;<a href="#TestSuite">TestSuite</a><br>
classes,&nbsp;and&nbsp;do&nbsp;not&nbsp;need&nbsp;to&nbsp;be&nbsp;explicitly&nbsp;manipulated&nbsp;by&nbsp;writers&nbsp;of&nbsp;tests.<br>
&nbsp;<br>
Each&nbsp;instance&nbsp;holds&nbsp;the&nbsp;total&nbsp;number&nbsp;of&nbsp;tests&nbsp;run,&nbsp;and&nbsp;collections&nbsp;of<br>
failures&nbsp;and&nbsp;errors&nbsp;that&nbsp;occurred&nbsp;among&nbsp;those&nbsp;test&nbsp;runs.&nbsp;The&nbsp;collections<br>
contain&nbsp;tuples&nbsp;of&nbsp;(testcase,&nbsp;exceptioninfo),&nbsp;where&nbsp;exceptioninfo&nbsp;is&nbsp;a<br>
tuple&nbsp;of&nbsp;values&nbsp;as&nbsp;returned&nbsp;by&nbsp;sys.exc_info().
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="TestResult-__init__"
><strong>__init__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestResult-__repr__"
><strong>__repr__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestResult-addError"
><strong>addError</strong>(self, test, err)</a>
<dd><small><tt>Called&nbsp;when&nbsp;an&nbsp;error&nbsp;has&nbsp;occurred
</tt></small></dl><dl><dt><a name="TestResult-addFailure"
><strong>addFailure</strong>(self, test, err)</a>
<dd><small><tt>Called&nbsp;when&nbsp;a&nbsp;failure&nbsp;has&nbsp;occurred
</tt></small></dl><dl><dt><a name="TestResult-startTest"
><strong>startTest</strong>(self, test)</a>
<dd><small><tt>Called&nbsp;when&nbsp;the&nbsp;given&nbsp;test&nbsp;is&nbsp;about&nbsp;to&nbsp;be&nbsp;run
</tt></small></dl><dl><dt><a name="TestResult-stop"
><strong>stop</strong>(self)</a>
<dd><small><tt>Indicates&nbsp;that&nbsp;the&nbsp;tests&nbsp;should&nbsp;be&nbsp;aborted
</tt></small></dl><dl><dt><a name="TestResult-stopTest"
><strong>stopTest</strong>(self, test)</a>
<dd><small><tt>Called&nbsp;when&nbsp;the&nbsp;given&nbsp;test&nbsp;has&nbsp;been&nbsp;run
</tt></small></dl><dl><dt><a name="TestResult-wasSuccessful"
><strong>wasSuccessful</strong>(self)</a>
<dd><small><tt>Tells&nbsp;whether&nbsp;or&nbsp;not&nbsp;this&nbsp;result&nbsp;was&nbsp;a&nbsp;success
</tt></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="TestSuite">class <strong>TestSuite</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;suite&nbsp;is&nbsp;a&nbsp;composite&nbsp;test&nbsp;consisting&nbsp;of&nbsp;a&nbsp;number&nbsp;of&nbsp;TestCases.<br>
&nbsp;<br>
For&nbsp;use,&nbsp;create&nbsp;an&nbsp;instance&nbsp;of&nbsp;<a href="#TestSuite">TestSuite</a>,&nbsp;then&nbsp;add&nbsp;test&nbsp;case&nbsp;instances.<br>
When&nbsp;all&nbsp;tests&nbsp;have&nbsp;been&nbsp;added,&nbsp;the&nbsp;suite&nbsp;can&nbsp;be&nbsp;passed&nbsp;to&nbsp;a&nbsp;test<br>
runner,&nbsp;such&nbsp;as&nbsp;<a href="#TextTestRunner">TextTestRunner</a>.&nbsp;It&nbsp;will&nbsp;run&nbsp;the&nbsp;individual&nbsp;test&nbsp;cases<br>
in&nbsp;the&nbsp;order&nbsp;in&nbsp;which&nbsp;they&nbsp;were&nbsp;added,&nbsp;aggregating&nbsp;the&nbsp;results.&nbsp;When<br>
subclassing,&nbsp;do&nbsp;not&nbsp;forget&nbsp;to&nbsp;call&nbsp;the&nbsp;base&nbsp;class&nbsp;constructor.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="TestSuite-__call__"
><strong>__call__</strong>(self, result)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-__init__"
><strong>__init__</strong>(self, tests<small><font color="#a0a0a0">=()</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-__repr__"
><strong>__repr__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-__repr__"
><strong>__repr__</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-addTest"
><strong>addTest</strong>(self, test)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-addTests"
><strong>addTests</strong>(self, tests)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-countTestCases"
><strong>countTestCases</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestSuite-run"
><strong>run</strong>(self, result)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="VerboseTextTestRunner">class <strong>VerboseTextTestRunner</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;runner&nbsp;class&nbsp;that&nbsp;displays&nbsp;results&nbsp;in&nbsp;textual&nbsp;form.<br>
&nbsp;<br>
It&nbsp;prints&nbsp;out&nbsp;the&nbsp;names&nbsp;of&nbsp;tests&nbsp;as&nbsp;they&nbsp;are&nbsp;run,&nbsp;errors&nbsp;as&nbsp;they<br>
occur,&nbsp;and&nbsp;a&nbsp;summary&nbsp;of&nbsp;the&nbsp;results&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;test&nbsp;run.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="VerboseTextTestRunner-__init__"
><strong>__init__</strong>(self, stream<small><font color="#a0a0a0">=&lt;open file '&lt;stderr&gt;', mode 'w' at 804ac88&gt;</font></small>, descriptions<small><font color="#a0a0a0">=1</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="VerboseTextTestRunner-run"
><strong>run</strong>(self, test)</a>
<dd><small><tt>Run&nbsp;the&nbsp;given&nbsp;test&nbsp;case&nbsp;or&nbsp;test&nbsp;suite.
</tt></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="VerboseTextTestRunner">class <strong>VerboseTextTestRunner</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;runner&nbsp;class&nbsp;that&nbsp;displays&nbsp;results&nbsp;in&nbsp;textual&nbsp;form.<br>
&nbsp;<br>
It&nbsp;prints&nbsp;out&nbsp;the&nbsp;names&nbsp;of&nbsp;tests&nbsp;as&nbsp;they&nbsp;are&nbsp;run,&nbsp;errors&nbsp;as&nbsp;they<br>
occur,&nbsp;and&nbsp;a&nbsp;summary&nbsp;of&nbsp;the&nbsp;results&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;test&nbsp;run.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="VerboseTextTestRunner-__init__"
><strong>__init__</strong>(self, stream<small><font color="#a0a0a0">=&lt;open file '&lt;stderr&gt;', mode 'w' at 804ac88&gt;</font></small>, descriptions<small><font color="#a0a0a0">=1</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="VerboseTextTestRunner-run"
><strong>run</strong>(self, test)</a>
<dd><small><tt>Run&nbsp;the&nbsp;given&nbsp;test&nbsp;case&nbsp;or&nbsp;test&nbsp;suite.
</tt></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="_JUnitTextTestResult">class <strong>_JUnitTextTestResult</strong></a>(<a href="#TestResult">TestResult</a>)</font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;result&nbsp;class&nbsp;that&nbsp;can&nbsp;print&nbsp;formatted&nbsp;text&nbsp;results&nbsp;to&nbsp;a&nbsp;stream.<br>
&nbsp;<br>
Used&nbsp;by&nbsp;<a href="#JUnitTextTestRunner">JUnitTextTestRunner</a>.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="_JUnitTextTestResult-__init__"
><strong>__init__</strong>(self, stream)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-addError"
><strong>addError</strong>(self, test, error)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-addFailure"
><strong>addFailure</strong>(self, test, error)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-printErrors"
><strong>printErrors</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-printFailures"
><strong>printFailures</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-printHeader"
><strong>printHeader</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-printNumberedErrors"
><strong>printNumberedErrors</strong>(self, errFlavour, errors)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-printResult"
><strong>printResult</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_JUnitTextTestResult-startTest"
><strong>startTest</strong>(self, test)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="_VerboseTextTestResult">class <strong>_VerboseTextTestResult</strong></a>(<a href="#TestResult">TestResult</a>)</font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;test&nbsp;result&nbsp;class&nbsp;that&nbsp;can&nbsp;print&nbsp;formatted&nbsp;text&nbsp;results&nbsp;to&nbsp;a&nbsp;stream.<br>
&nbsp;<br>
Used&nbsp;by&nbsp;<a href="#VerboseTextTestRunner">VerboseTextTestRunner</a>.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="_VerboseTextTestResult-__init__"
><strong>__init__</strong>(self, stream, descriptions)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_VerboseTextTestResult-_printError"
><strong>_printError</strong>(self, flavour, test, err)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_VerboseTextTestResult-addError"
><strong>addError</strong>(self, test, err)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_VerboseTextTestResult-addFailure"
><strong>addFailure</strong>(self, test, err)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_VerboseTextTestResult-startTest"
><strong>startTest</strong>(self, test)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_VerboseTextTestResult-stopTest"
><strong>stopTest</strong>(self, test)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="_WritelnDecorator">class <strong>_WritelnDecorator</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>Used&nbsp;to&nbsp;decorate&nbsp;file-like&nbsp;objects&nbsp;with&nbsp;a&nbsp;handy&nbsp;'writeln'&nbsp;method
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="_WritelnDecorator-__getattr__"
><strong>__getattr__</strong>(self, attr)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_WritelnDecorator-__init__"
><strong>__init__</strong>(self, stream)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="_WritelnDecorator-writeln"
><strong>writeln</strong>(self, *args)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#ffc8d8"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#000000" face="helvetica, arial">&nbsp;<a name="TestProgram">class <strong>TestProgram</strong></a></font></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td bgcolor="#ffc8d8" colspan=2><small><tt>A&nbsp;command-line&nbsp;program&nbsp;that&nbsp;runs&nbsp;a&nbsp;set&nbsp;of&nbsp;tests;&nbsp;this&nbsp;is&nbsp;primarily<br>
for&nbsp;making&nbsp;test&nbsp;modules&nbsp;conveniently&nbsp;executable.
<br>&nbsp;</tt></small></td></tr>

<tr><td bgcolor="#ffc8d8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="TestProgram-__init__"
><strong>__init__</strong>(self, module<small><font color="#a0a0a0">='__main__'</font></small>, defaultTest<small><font color="#a0a0a0">=None</font></small>, argv<small><font color="#a0a0a0">=None</font></small>, testRunner<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-createTests"
><strong>createTests</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-parseArgs"
><strong>parseArgs</strong>(self, argv)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-runTests"
><strong>runTests</strong>(self)</a>
<dd><small><em>no doc string</em></small></dl><dl><dt><a name="TestProgram-usageExit"
><strong>usageExit</strong>(self, msg<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><em>no doc string</em></small></dl></td></tr></table></td></tr></table>
<p><table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr bgcolor="#eeaa77"><td colspan=3 valign=bottom><small><small><br></small></small
><font color="#ffffff" face="helvetica, arial">&nbsp;<big><strong>Functions</strong></big></font></td></tr>

<tr><td bgcolor="#eeaa77">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;</td>
<td><small><small>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </small></small
><dl><dt><a name="-createTestInstance"
><strong>createTestInstance</strong>(name, module<small><font color="#a0a0a0">=None</font></small>)</a>
<dd><small><tt>Finds&nbsp;tests&nbsp;by&nbsp;their&nbsp;name,&nbsp;optionally&nbsp;only&nbsp;within&nbsp;the&nbsp;given&nbsp;module.</tt></small
><dd><small><tt>&nbsp;</tt></small
><dd><small><tt>Return&nbsp;the&nbsp;newly-constructed&nbsp;test,&nbsp;ready&nbsp;to&nbsp;run.&nbsp;If&nbsp;the&nbsp;name&nbsp;contains&nbsp;a&nbsp;':'</tt></small
><dd><small><tt>then&nbsp;the&nbsp;portion&nbsp;of&nbsp;the&nbsp;name&nbsp;after&nbsp;the&nbsp;colon&nbsp;is&nbsp;used&nbsp;to&nbsp;find&nbsp;a&nbsp;specific</tt></small
><dd><small><tt>test&nbsp;case&nbsp;within&nbsp;the&nbsp;test&nbsp;case&nbsp;class&nbsp;named&nbsp;before&nbsp;the&nbsp;colon.</tt></small
><dd><small><tt>&nbsp;</tt></small
><dd><small><tt>Examples:</tt></small
><dd><small><tt>&nbsp;findTest('examples.listtests.suite')</tt></small
><dd><small><tt>&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;returns&nbsp;result&nbsp;of&nbsp;calling&nbsp;'suite'</tt></small
><dd><small><tt>&nbsp;findTest('examples.listtests.ListTestCase:checkAppend')</tt></small
><dd><small><tt>&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;returns&nbsp;result&nbsp;of&nbsp;calling&nbsp;ListTestCase('checkAppend')</tt></small
><dd><small><tt>&nbsp;findTest('examples.listtests.ListTestCase:check-')</tt></small
><dd><small><tt>&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;returns&nbsp;result&nbsp;of&nbsp;calling&nbsp;<a href="#-makeSuite">makeSuite</a>(ListTestCase,&nbsp;prefix="check")
</tt></small></dl><dl><dt><a name="-getTestCaseNames"
><strong>getTestCaseNames</strong>(testCaseClass, prefix, sortUsing<small><font color="#a0a0a0">=&lt;built-in function cmp&gt;</font></small>)</a>
<dd><small><tt>Extracts&nbsp;all&nbsp;the&nbsp;names&nbsp;of&nbsp;functions&nbsp;in&nbsp;the&nbsp;given&nbsp;test&nbsp;case&nbsp;class</tt></small
><dd><small><tt>and&nbsp;its&nbsp;base&nbsp;classes&nbsp;that&nbsp;start&nbsp;with&nbsp;the&nbsp;given&nbsp;prefix.&nbsp;This&nbsp;is&nbsp;used</tt></small
><dd><small><tt>by&nbsp;<a href="#-makeSuite">makeSuite</a>().
</tt></small></dl><dl><dt><a name="-makeSuite"
><strong>makeSuite</strong>(testCaseClass, prefix<small><font color="#a0a0a0">='test'</font></small>, sortUsing<small><font color="#a0a0a0">=&lt;built-in function cmp&gt;</font></small>)</a>
<dd><small><tt>Returns&nbsp;a&nbsp;<a href="#TestSuite">TestSuite</a>&nbsp;instance&nbsp;built&nbsp;from&nbsp;all&nbsp;of&nbsp;the&nbsp;test&nbsp;functions</tt></small
><dd><small><tt>in&nbsp;the&nbsp;given&nbsp;test&nbsp;case&nbsp;class&nbsp;whose&nbsp;names&nbsp;begin&nbsp;with&nbsp;the&nbsp;given</tt></small
><dd><small><tt>prefix.&nbsp;The&nbsp;cases&nbsp;are&nbsp;sorted&nbsp;by&nbsp;their&nbsp;function&nbsp;names</tt></small
><dd><small><tt>using&nbsp;the&nbsp;supplied&nbsp;comparison&nbsp;function,&nbsp;which&nbsp;defaults&nbsp;to&nbsp;'cmp'.
</tt></small></dl></td></tr></table></body></html>