python (3.11.7)

(root)/
lib/
python3.11/
unittest/
test/
__pycache__/
test_runner.cpython-311.opt-2.pyc

eddlZddlZddlZddlZddlZddlmZddlZddlm	Z	ddl
mZmZdZ
dZGddeZed	kred
znddZdZddZGddZGddZGddZGddZGddejZGddejZGddejZGddejZed	krejdSdS) N)support)_Outcome)
LoggingResult#ResultWithNoStartTestRunStopTestRunc(tjSN)unittest
TestResult)_s M/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/unittest/test/test_runner.py
resultFactoryr
s   cZtjttjS)N)resultclassstream)r	TextTestRunnerr
ioStringIOrr	getRunnerrs'"}*,+--9999rceZdZdS)CustomErrorN__name__
__module____qualname__rrrrrDrr__main__.ctj}|D]6}tj|}||7t}tj}|||tj|tj||Sr)r		TestSuitedefaultTestLoaderloadTestsFromTestCaseaddTestsraddTestrun)casessuitecasetestsrunner	realSuites      rrunTestsr.s  E*@@FF
u
[[F"$$I
e	MM($&&'''
h(**+++::i   rFc||s|ddS|dtd)Ncleanup_goodcleanup_exc
CleanUpExcappendr)orderingblowUps  rcleanupr70sB('''''
&&&,'''rc"eZdZddZdZdZdS)TestCMNc"||_||_dSr)r5enter_result)selfr5r;s   r__init__zTestCM.__init__9s 
(rcD|jd|jS)Nenter)r5r4r;r<s r	__enter__zTestCM.__enter__=s!
W%%%  rc:|jddS)Nexit)r5r4r<exc_infos  r__exit__zTestCM.__exit__As
V$$$$$rr)rrrr=rArFrrrr9r98sF))))!!!%%%%%rr9ceZdZdS)LacksEnterAndExitNrrrrrHrHErrrHceZdZdZdS)
LacksEntercdSrrrDs  rrFzLacksEnter.__exit__HrN)rrrrFrrrrJrJG#




rrJceZdZdZdS)	LacksExitcdSrrr@s rrAzLacksExit.__enter__KrLrN)rrrrArrrrOrOJrMrrOc2eZdZdZdZdZdZdZdZdS)TestCleanUpc
Gddtj}|d}||jggfd}fd}||dddd	d
||||j|dtd	d
f|d
ifg|||dd
ifddtd	d
fgdS)NceZdZdZdS)-TestCleanUp.testCleanUp.<locals>.TestableTestcdSrrr@s rtestNothingz9TestCleanUp.testCleanUp.<locals>.TestableTest.testNothingRrNrrrrWrrrTestableTestrUQ#




rrZrWc8d||fdSNr4argskwargscleanupss  rcleanup1z)TestCleanUp.testCleanUp.<locals>.cleanup1Z"OOQf-.....rc8d||fdS)Nr_r`s  rcleanup2z)TestCleanUp.testCleanUp.<locals>.cleanup2]rerr^rghellogoodbyefourfiver^rgrir)r	TestCaseassertEqual	_cleanups
addCleanupdict
assertTrue
doCleanups)r<rZtestrdrhrcs     @rtestCleanUpzTestCleanUp.testCleanUpPs^					8,			|M**,,,	/	/	/	/	/	/	/	/	/	/	
!QiHHH!!!#Y'	0R0R0RS#R,.	/	/	/	
))***QBK!Y'Xa@b@b@b1c#deeeeerc
Gddtj}|d}tj}t|x}|_td
td
fd}fd}||||||||j	|j
\\}}\}}	|d	|	|d
|	|td|	|d||d
||td|dS)NceZdZdZdS)7TestCleanUp.testCleanUpWithErrors.<locals>.TestableTestcdSrrr@s rrWzCTestCleanUp.testCleanUpWithErrors.<locals>.TestableTest.testNothinglrXrNrYrrrrZr{kr[rrZrWresultfoobarcrr)r2srrdz3TestCleanUp.testCleanUpWithErrors.<locals>.cleanup1us	rcrr)exc2srrhz3TestCleanUp.testCleanUpWithErrors.<locals>.cleanup2xsJrzin cleanup1zraise CleanUpExcz: foozin cleanup2z
raise exc2z: bar)
r	rpr
r_outcomerrsassertFalservsuccesserrorsassertInCustomErrorRepr)r<rZrwr~outcomerdrhrmsg2msg1r2rs          @@rtestCleanUpWithErrorsz!TestCleanUp.testCleanUpWithErrorsjs					8,			|M**$&&"*&"9"9"99$- ''
5!!											
!!!!!!**+++)))%}	D9At

mT***

($///

///666

mT***

lD)))

///66666rc	dgG	fddtj}|d	fd}fdfd	|	fd}tj}||_	|gd	d
g|d		|	|gddS)NFc8eZdZfdZfdZfdZdS)2TestCleanUp.testCleanupInRun.<locals>.TestableTestc~drtddS)NsetUpr)r4rsr)r<r6rhr5rws rrz8TestCleanUp.testCleanupInRun.<locals>.TestableTest.setUpsG((()))-%e,,,--rc\ddSNrwr4rs)r<cleanup3r5rws rrWz>TestCleanUp.testCleanupInRun.<locals>.TestableTest.testNothing-''')))))rc2ddSNtearDownr_r<r5s rrz;TestCleanUp.testCleanupInRun.<locals>.TestableTest.tearDown
+++++rNrrrrrWr)r6rhrr5rwsrrZrsy
-
-
-
-
-
-
-
-
*
*
*
*
*
*
*
,
,
,
,
,
,
,rrZrWc2ddSNrdr_r5srrdz.TestCleanUp.testCleanupInRun.<locals>.cleanup1OOJ'''''rc2ddSNrhr_rsrrhz.TestCleanUp.testCleanupInRun.<locals>.cleanup2rrc2ddSNrr_rsrrz.TestCleanUp.testCleanupInRun.<locals>.cleanup3rrc^|ddS)Nr)rqr4)	some_testr5r<rws rrz-TestCleanUp.testCleanupInRun.<locals>.successs1Y---OOI&&&&&r)rrwrrrhrdrT)rrhrd)r	rprsr

addSuccessr'rq)
r<rZrdrr~r6rhrr5rws
`    @@@@@rtestCleanupInRunzTestCleanUp.testCleanupInRuns	,	,	,	,	,	,	,	,	,	,	,8,	,	,	,|M**	(	(	(	(	(	(	(	(	(	(	(	(	(	(	(!!!	'	'	'	'	'	'	'$&&#$G$G$G	H	H	H|M**!!!#D#D#DEEEEErcgGfddtj}|dfdfdfdfd|gddS)	Nc6eZdZfdZfdZfdZdS)CTestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.TestableTestc\d|dSNrr)r<rdr5s rrzITestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.TestableTest.setUp-((()))))rc\d|dSrrr<rr5s rrWzOTestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.TestableTest.testNothingrrc\ddSrr)r<cleanup4r5rws rrzLTestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.TestableTest.tearDowns-
+++)))))rNr)rdrrr5rwsrrZrst
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*rrZrWc\ddSrr)rhr5rwsrrdz?TestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.cleanup1s-OOJ'''OOH%%%%%rc2ddSrr_rsrrhz?TestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.cleanup2rrc2ddSrr_rsrrz?TestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.cleanup3rrc2ddS)Nrr_rsrrz?TestCleanUp.testTestCaseDebugExecutesCleanups.<locals>.cleanup4rr)rrwrrrrdrh)r	rpdebugrq)r<rZrdrhrrr5rws  @@@@@@r!testTestCaseDebugExecutesCleanupsz-TestCleanUp.testTestCaseDebugExecutesCleanupss!	*	*	*	*	*	*	*	*	*	*	*8,	*	*	*|M**	&	&	&	&	&	&	&	(	(	(	(	(	(	(	(	(	(	(	(	(	(	(	

$H$H$H	I	I	I	I	IrcGddtj}|d}g}||jdt	|d}|||d||jd||||gddS)NceZdZdZdS)3TestCleanUp.test_enterContext.<locals>.TestableTestcdSrrr@s rrWz?TestCleanUp.test_enterContext.<locals>.TestableTest.testNothingrXrNrYrrrrZrr[rrZrWrd*rhr?rhrCrd)	r	rprsr4r9rqenterContextrurv)r<rZrwrccms     rtest_enterContextzTestCleanUp.test_enterContexts					8,			|M**444
Hb
!
!**2..333444))***#L#L#LMMMMMrczGddtj}|d}|td5|tdddn#1swxYwY|td5|t
dddn#1swxYwY|td5|tdddn#1swxYwY||j	gdS)NceZdZdZdS)>TestCleanUp.test_enterContext_arg_errors.<locals>.TestableTestcdSrrr@s rrWzJTestCleanUp.test_enterContext_arg_errors.<locals>.TestableTest.testNothingrXrNrYrrrrZrr[rrZrWthe context manager)
r	rpassertRaisesRegex	TypeErrorrrHrJrOrqrr)r<rZrws   rtest_enterContext_arg_errorsz(TestCleanUp.test_enterContext_arg_errorss					8,			|M**

#
#I/D
E
E	3	3/11222	3	3	3	3	3	3	3	3	3	3	3	3	3	3	3

#
#I/D
E
E	,	,jll+++	,	,	,	,	,	,	,	,	,	,	,	,	,	,	,

#
#I/D
E
E	+	+ikk***	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+	
,,,,,s5"A--A14A1"CCC'"DDDN)	rrrrxrrrrrrrrrRrROs|fff4777>,F,F,F\IIIBNNN -----rrRc\eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdS)TestClassCleanupc
Gddtj}|d}||jggfd}fd}||dddd	d
||||j|dtd	d
f|d
ifg||dd
ifddtd	d
fgdS)NceZdZdZdS);TestClassCleanup.test_addClassCleanUp.<locals>.TestableTestcdSrrr@s rrWzGTestClassCleanup.test_addClassCleanUp.<locals>.TestableTest.testNothingrXrNrYrrrrZrr[rrZrWc8d||fdSNrir_rarbclass_cleanupss  rclass_cleanup1z=TestClassCleanup.test_addClassCleanUp.<locals>.class_cleanup1$!!1dF"344444rc8d||fdSNr_rs  rclass_cleanup2z=TestClassCleanup.test_addClassCleanUp.<locals>.class_cleanup2rrr^rgrirjrkrlrorr)r	rprq_class_cleanupsaddClassCleanuprtdoClassCleanups)r<rZrwrrrs     @rtest_addClassCleanUpz%TestClassCleanup.test_addClassCleanUps					8,			|M**-r222	5	5	5	5	5	5	5	5	5	5	$$^Q1*1		%	C	C	C$$^444-)9W9===?)2r24	5	5	5
	$$&&&1b"+9*.G)*L*L*L8N*O	P	P	P	P	PrcgdGfddtj}t||ddggdt||gddS)NTcPeZdZefdZfdZefdZdS)=TestClassCleanup.test_run_class_cleanUp.<locals>.TestableTestcd|trtdSN
setUpClassr4rr7rclsr6r5s rrzHTestClassCleanup.test_run_class_cleanUp.<locals>.TestableTest.setUpClassG---##GX666(%--'((rc2ddSrr_rs rrWzITestClassCleanup.test_run_class_cleanUp.<locals>.TestableTest.testNothing '''''rc2ddSN
tearDownClassr_rr5s rrzKTestClassCleanup.test_run_class_cleanUp.<locals>.TestableTest.tearDownClass"00000rNrrrclassmethodrrWrr6r5srrZrsy

(
(
(
(
([
(

(
(
(
(
(

1
1
1
1[
1
1
1rrZrr0Frrwrr0r	rpr.rqr<rZr6r5s  @@rtest_run_class_cleanUpz'TestClassCleanup.test_run_class_cleanUps	1	1	1	1	1	1	1	18,	1	1	1	L.#ABBBPPP	R	R	R	R	RrcgdGfddtj}t||ddggdt||gddS)NTc\eZdZefdZfdZeedZdS)STestClassCleanup.test_run_class_cleanUp_without_tearDownClass.<locals>.TestableTestcd|trtdSrrrs rrz^TestClassCleanup.test_run_class_cleanUp_without_tearDownClass.<locals>.TestableTest.setUpClass4rrc2ddSrr_rs rrWz_TestClassCleanup.test_run_class_cleanUp_without_tearDownClass.<locals>.TestableTest.testNothing:rrctr)AttributeError)rs rrzaTestClassCleanup.test_run_class_cleanUp_without_tearDownClass.<locals>.TestableTest.tearDownClass<s
%$rN)rrrrrrWpropertyrrsrrZr3sy

(
(
(
(
([
(

(
(
(
(
(


%
%X[
%
%
%rrZrr0F)rrwr0rrs  @@r,test_run_class_cleanUp_without_tearDownClassz=TestClassCleanup.test_run_class_cleanUp_without_tearDownClass/s	%	%	%	%	%	%	%	%8,	%	%	%	L.#ABBB???	A	A	A	A	Arc0gdGfddtj}tj|}||gdgdtj|}|t5}|dddn#1swxYwY|t|j	d|gddS)NFcPeZdZefdZfdZefdZdS)GTestClassCleanup.test_debug_executes_classCleanUp.<locals>.TestableTestcld|tdSNrr6r4rr7rs rrzRTestClassCleanup.test_debug_executes_classCleanUp.<locals>.TestableTest.setUpClassO6---##GXf#EEEEErc2ddSrr_rs rrWzSTestClassCleanup.test_debug_executes_classCleanUp.<locals>.TestableTest.testNothingSrrc2ddSrr_rs rrzUTestClassCleanup.test_debug_executes_classCleanUp.<locals>.TestableTest.tearDownClassUrrNrrsrrZrNs

F
F
F
F
F[
F
(
(
(
(
(

1
1
1
1[
1
1
1rrZrTr2)rrwrr1)
r	rpr#r$rrqassertRaisesrstr	exceptionr<rZr)rr6r5s    @@r test_debug_executes_classCleanUpz1TestClassCleanup.test_debug_executes_classCleanUpJs|		1		1		1		1		1		1		1		18,		1		1		1*@@NN



PPP	R	R	R*@@NN


{
+
+	rKKMMM															R\**L999OOO	Q	Q	Q	Q	Qs*CCCcgdGfddtj}tj|}|t
5}|dddn#1swxYwY|t|j	d|gd|
|j|jgdtj|}|t
5}|dddn#1swxYwY|t|j	d|gd|
|j|jdS)NFcPeZdZefdZfdZefdZdS)_TestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exception.<locals>.TestableTestcld|tdSrrrs rrzjTestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exception.<locals>.TestableTest.setUpClasslrrc2ddSrr_rs rrWzkTestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exception.<locals>.TestableTest.testNothingprrcLdtd)NrTearDownClassExcr3rs rrzmTestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exception.<locals>.TestableTest.tearDownClassrs$000!"4555rNrrsrrZrks

F
F
F
F
F[
F
(
(
(
(
(

6
6
6
6[
6
6
6rrZr)rrwrT)
r	rpr#r$r
rrrqrrrurclearr
s    @@r8test_debug_executes_classCleanUp_when_teardown_exceptionzITestClassCleanup.test_debug_executes_classCleanUp_when_teardown_exceptiongs>
	6
	6
	6
	6
	6
	6
	6
	68,
	6
	6
	6*@@NN


{
+
+	rKKMMM															R\**,>???#J#J#JKKK4555$**,,,*@@NN


{
+
+	rKKMMM															R\**,>???#J#J#JKKK4555$**,,,,,s$A<<BB7EEEcJGddtj}d}d}||||||t|jd|j\}}||dt|t|dd||dt|t|dddS)	NceZdZdZdS)WTestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUp.<locals>.TestableTestcdSrrr@s rrWzcTestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUp.<locals>.TestableTest.testNothingrXrNrYrrrrZrr[rrZc tdrrrrrrdzSTestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUp.<locals>.cleanup1j)))rc tdrrrrrrhzSTestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUp.<locals>.cleanup2rrrgr^rhrd)
r	rprrrqlentearDown_exceptionsassertIsInstancerr)r<rZrdrhe1e2s      r0test_doClassCleanups_with_errors_addClassCleanUpzATestClassCleanup.test_doClassCleanups_with_errors_addClassCleanUps0					8,				*	*	*	*	*	*	$$X...$$X...$$&&&\=>>BBB1Bbe[111RUZ000be[111RUZ00000rcgGfddtj}t|}||jdddtd|gddS)NcTeZdZefdZfdZdZefdZdS)BTestClassCleanup.test_with_errors_addCleanUp.<locals>.TestableTestchd|tdSrrrs rrzMTestClassCleanup.test_with_errors_addCleanUp.<locals>.TestableTest.setUpClass1---##GX66666rcld|tddSNrTrr4rsr7rs rrzHTestClassCleanup.test_with_errors_addCleanUp.<locals>.TestableTest.setUp3((($?????rcdSrrr@s rrWzNTestClassCleanup.test_with_errors_addCleanUp.<locals>.TestableTest.testNothingrXrc2ddSrr_rs rrzPTestClassCleanup.test_with_errors_addCleanUp.<locals>.TestableTest.tearDownClassrrNrrrrrrrWrrsrrZr(s

7
7
7
7[
7
@
@
@
@
@




1
1
1
1[
1
1
1rrZrr^: CleanUpExc)rrr1rr0r	rpr.rqr
splitlinesrr<rZr~r5s   @rtest_with_errors_addCleanUpz,TestClassCleanup.test_with_errors_addCleanUps	1	1	1	1	1	1	18,	1	1	1,''q)!,7799"=+999	;	;	;;;;	<	<	<	<	<rcgGfddtj}t|}||jdddtd|gddS)NcXeZdZefdZfdZfdZefdZdS)KTestClassCleanup.test_run_with_errors_addClassCleanUp.<locals>.TestableTestcld|tddSNrTrrrs rrzVTestClassCleanup.test_run_with_errors_addClassCleanUp.<locals>.TestableTest.setUpClass6---##GXd#CCCCCrchd|tdSrr-rs rrzQTestClassCleanup.test_run_with_errors_addClassCleanUp.<locals>.TestableTest.setUps/(((22222rc2ddSrr_rs rrWzWTestClassCleanup.test_run_with_errors_addClassCleanUp.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzYTestClassCleanup.test_run_with_errors_addClassCleanUp.<locals>.TestableTest.tearDownClassrrNr1rsrrZr:s

D
D
D
D[
D
3
3
3
3
3
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr^r2r3)rrrwr0rr1r4r6s   @r$test_run_with_errors_addClassCleanUpz5TestClassCleanup.test_run_with_errors_addClassCleanUps	1	1	1	1	1	1	18,	1	1	1,''q)!,7799"=+999	;	;	;:::	;	;	;	;	;rcgddGfddtj}t|}||jdddtd|gdgd	dt|}||jdddtd
||jdddtd|ddggdd	t|}||jdddtd
||jdddtd|gddS)NFc\eZdZefdZfdZfdZefdZdS)UTestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps.<locals>.TestableTestcd|tdrtddS)NrTrClassExcrr
class_blow_upr5s rrz`TestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps.<locals>.TestableTest.setUpClasssP---##GXd#CCC 2%j11122rcTdrtddSNr	MethodExcr3r<method_blow_upr5s rrz[TestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps.<locals>.TestableTest.setUp5(((!3%k22233rc2ddSrr_rs rrWzaTestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzcTestClassCleanup.test_with_errors_in_addClassCleanup_and_setUps.<locals>.TestableTest.tearDownClassrrNr1rHrMr5srrZrDs

2
2
2
2
2[
2

3
3
3
3
3
3
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr^r2r3)rrrwrr1T
: ClassExcrr1: MethodExc)rrrr1r4)r<rZr~rHrMr5s   @@@r.test_with_errors_in_addClassCleanup_and_setUpsz?TestClassCleanup.test_with_errors_in_addClassCleanup_and_setUpssm
	1	1	1	1	1	1	1	1	18,	1	1	1",''q)!,7799"=+999	;	;	;:::	;	;	;
,''q)!,7799"=+777	9	9	9q)!,7799"=+999	;	;	;&
6	8	8	8
,''q)!,7799"=+888	:	:	:q)!,7799"=+999	;	;	;)))	*	*	*	*	*rcgGfddtj}t|}||jdddtd|gddS)NcNeZdZefdZfdZefdZdS)HTestClassCleanup.test_with_errors_in_tearDownClass.<locals>.TestableTestchd|tdSrrrs rrzSTestClassCleanup.test_with_errors_in_tearDownClass.<locals>.TestableTest.setUpClassr*rc2ddSrr_rs rrWzTTestClassCleanup.test_with_errors_in_tearDownClass.<locals>.TestableTest.testNothing	rrcLdtd)NrTearDownExcr3rs rrzVTestClassCleanup.test_with_errors_in_tearDownClass.<locals>.TestableTest.tearDownClasss#000!-000rNrrsrrZrWst

7
7
7
7[
7
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr^r2z
: TearDownExcrr4r6s   @r!test_with_errors_in_tearDownClassz2TestClassCleanup.test_with_errors_in_tearDownClasss
	1
	1
	1
	1
	1
	1
	18,
	1
	1
	1,''q)!,7799"=+:::	<	<	<PPP	R	R	R	R	RrcpGddtj}g}||jdt	|d}|||d||jd|||gddS)NceZdZdZdS)=TestClassCleanup.test_enterClassContext.<locals>.TestableTestcdSrrr@s rrWzITestClassCleanup.test_enterClassContext.<locals>.TestableTest.testNothingrXrNrYrrrrZr_r[rrZrdrrhr)r	rprr4r9rqenterClassContextr)r<rZrcrs    rtest_enterClassContextz'TestClassCleanup.test_enterClassContexts					8,			$$X_jAAA
Hb
!
!77;;R@@@$$X_jAAA$$&&&#L#L#LMMMMMrcdGddtj}|td5|tdddn#1swxYwY|td5|t
dddn#1swxYwY|td5|tdddn#1swxYwY||j	gdS)NceZdZdZdS)HTestClassCleanup.test_enterClassContext_arg_errors.<locals>.TestableTestcdSrrr@s rrWzTTestClassCleanup.test_enterClassContext_arg_errors.<locals>.TestableTest.testNothing'rXrNrYrrrrZre&r[rrZr)
r	rprrrarHrJrOrqrr<rZs  r!test_enterClassContext_arg_errorsz2TestClassCleanup.test_enterClassContext_arg_errors%s					8,			
#
#I/D
E
E	@	@**+<+>+>???	@	@	@	@	@	@	@	@	@	@	@	@	@	@	@

#
#I/D
E
E	9	9**:<<888	9	9	9	9	9	9	9	9	9	9	9	9	9	9	9

#
#I/D
E
E	8	8**9;;777	8	8	8	8	8	8	8	8	8	8	8	8	8	8	8	
5r:::::s5"A""A&)A&"B66B:=B:"D

DDcgGfddtjGfddtj}t||gddS)Nc4eZdZefdZfdZdS)8TestClassCleanup.test_run_nested_test.<locals>.InnerTestchd|jddS)Ninner setup
inner cleanupr4rrs rrzCTestClassCleanup.test_run_nested_test.<locals>.InnerTest.setUpClass73
...##HO_EEEEErc2ddS)N
inner testr_rs rrwz=TestClassCleanup.test_run_nested_test.<locals>.InnerTest.test;s-----rNrrrrrrwrsr	InnerTestrk6sV

F
F
F
F[
F
.
.
.
.
.
.
.rrtc6eZdZefdZfdZdS)8TestClassCleanup.test_run_nested_test.<locals>.OuterTestchd|jddS)Nouter setup
outer cleanuprors rrzCTestClassCleanup.test_run_nested_test.<locals>.OuterTest.setUpClass?rprczdtddS)Nstart outer testend outer test)r4r.)r<rtr5s rrwz=TestClassCleanup.test_run_nested_test.<locals>.OuterTest.testCs= 2333### 011111rNrs)rtr5sr	OuterTestrv>s[

F
F
F
F[
F
2
2
2
2
2
2
2
2rr})rxr{rmrrrnr|ryr)r<r}rtr5s  @@rtest_run_nested_testz%TestClassCleanup.test_run_nested_test3s	.	.	.	.	.	.	.)	.	.	.	2	2	2	2	2	2	2	2)	2	2	2	$3$3$3	4	4	4	4	4rN)rrrrrrrrr%r7rArTr\rbrhr~rrrrrsPPP6RRR4AAA6QQQ: - - -D111.<<<.;;;.2*2*2*hRRR(
N
N
N;;;44444rrcteZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdS)TestModuleCleanUpc
gfdfdGfddt}|tjjdtddfd	ifgtj|d
d	ifddtddfg|tjjgdS)Nc8d||fdSrr_rarbmodule_cleanupss  rmodule_cleanup1zHTestModuleCleanUp.test_add_and_do_ModuleCleanup.<locals>.module_cleanup1S$""AtV#455555rc8d||fdSrr_rs  rmodule_cleanup2zHTestModuleCleanUp.test_add_and_do_ModuleCleanup.<locals>.module_cleanup2Vrrc\eZdZejdddddejdS)?TestModuleCleanUp.test_add_and_do_ModuleCleanup.<locals>.Moduler^rgrirjrkrlNrrrr	addModuleCleanup)rrsrModulerYsQ%H%oq!Q+2
D
D
D
D%H%o66666rrrorjrkrlrrri)objectrqr	r*_module_cleanupsrtdoModuleCleanups)r<rrrrs  @@@rtest_add_and_do_ModuleCleanupz/TestModuleCleanUp.test_add_and_do_ModuleCleanupPs;	6	6	6	6	6	6	6	6	6	6	7	7	7	7	7	7	7	7V	7	7	7
	
7*IW9===?*B35	6	6	6
	
&&(((Ar2;I*.G)*L*L*L9N+O	P	P	P7<<<<<rc	gfddGfddt}|tjjdtddfd	ifg|t5}tjdddn#1swxYwY|t|j
d
|tjjgdS)Nc8d||fdSrr_rs  rmodule_cleanup_goodzcTestModuleCleanUp.test_doModuleCleanup_with_errors_in_addModuleCleanup.<locals>.module_cleanup_goodkrrc td)Nr2r)rarbs  rmodule_cleanup_badzbTestModuleCleanUp.test_doModuleCleanup_with_errors_in_addModuleCleanup.<locals>.module_cleanup_badnsl+++rc\eZdZejdddddejdS)VTestModuleCleanUp.test_doModuleCleanup_with_errors_in_addModuleCleanup.<locals>.Moduler^rgrirjrkrlNr)rrsrrrqsS%H%&91a+2
D
D
D
D%H%&899999rrrorjrkrlrr2)rrqr	r*rrtr
rrrr)r<rerrrs   @@@r4test_doModuleCleanup_with_errors_in_addModuleCleanupzFTestModuleCleanUp.test_doModuleCleanup_with_errors_in_addModuleCleanuphsr	6	6	6	6	6	,	,	,	:	:	:	:	:	:	:	:V	:	:	:	
7.	W9===?-r268	9	9	9

{
+
+	-qM**,,,	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-Q[))<8887<<<<<s:B%%B),B)cgfdGfddt}tjdddifgdS)Nc6||fdSrr_r`s  rr7zCTestModuleCleanUp.test_addModuleCleanup_arg_errors.<locals>.cleanupOOT6N+++++rc0eZdZejddde5ejddddn#1swxYwYe5ejddddS#1swxYwYdS)BTestModuleCleanUp.test_addModuleCleanup_arg_errors.<locals>.Moduler^rgrj)functionrargN)rrrr	rr
rr7r<srrrsB%H%gq!gFFFF""9--
I
I))7HHHH
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I""9--
,
,))+++
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,s#AAA.BBBrr^rgrrj)rr	r*rrq)r<rr7rcs` @@r test_addModuleCleanup_arg_errorsz2TestModuleCleanUp.test_addModuleCleanup_arg_errors~s	,	,	,	,	,	,	,	,	,	,	,	,	,V	,	,	,	
&&(((!J#89:	<	<	<	<	<rcdgGfddt}Gfddtj}d|_|tjd<t
|}|ddg||jdd		d
tdgdt
||gd
|tjjgdS)NTcFeZdZefdZefdZdS)9TestModuleCleanUp.test_run_module_cleanUp.<locals>.Modulecdtjtrt	ddS)NsetUpModulezsetUpModule Excr4r	rr7rrsrrzETestModuleCleanUp.test_run_module_cleanUp.<locals>.Module.setUpModulesI
...)'8<<<9%&788899rc2ddSNtearDownModuler_rsrrzHTestModuleCleanUp.test_run_module_cleanUp.<locals>.Module.tearDownModule 011111rNrrrstaticmethodrrrsrrrsb

9
9
9
9
9\
9

2
2
2
2\
2
2
2rrcNeZdZefdZfdZefdZdS)?TestModuleCleanUp.test_run_module_cleanUp.<locals>.TestableTestc2ddSrr_rs rrzJTestModuleCleanUp.test_run_module_cleanUp.<locals>.TestableTest.setUpClass-----rc2ddSrr_rs rrWzKTestModuleCleanUp.test_run_module_cleanUp.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzMTestModuleCleanUp.test_run_module_cleanUp.<locals>.TestableTest.tearDownClassrrNrrsrrZrt

.
.
.
.[
.
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr0rr^r2z: setUpModule ExcFrrrwrrr0
rr	rprsysmodulesr.rqrr5rr*r)r<rrZr~r6r5s    @@rtest_run_module_cleanUpz)TestModuleCleanUp.test_run_module_cleanUpsh		2		2		2		2		2		2		2		2V		2		2		2	1	1	1	1	1	1	18,	1	1	1#+ &H,''M>#BCCCq)!,7799"=+>>>	@	@	@<<<	=	=	=	
7<<<<<rcddgGfddt}Gfddt}Gfddtj}Gfd	d
tj}d|_|tjd<d|_|tjd<t
|||gdgddt
|||gdgddt
|||gd
|tjj	gdS)NTFcFeZdZefdZefdZdS)CTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module1cdtjtrt	dSNrrrsrrzOTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module1.setUpModulesD
...)'8<<<(%--'((rc2ddSrr_rsrrzRTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module1.tearDownModulerrNrrsrModule1rsb

(
(
(
(
(\
(

2
2
2
2\
2
2
2rrcFeZdZefdZefdZdS)CTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module2cdtjtrt	dS)NsetUpModule2rblowUp2r5srrzOTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module2.setUpModulesD///)'8<<<(%--'((rc2ddS)NtearDownModule2r_rsrrzRTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.Module2.tearDownModules 122222rNrrsrModule2rsb

(
(
(
(
(\
(

3
3
3
3\
3
3
3rrcNeZdZefdZfdZefdZdS)HTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTestc2ddSrr_rs rrzSTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest.setUpClassrrc2ddSrr_rs rrWzTTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzVTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest.tearDownClassrrNrrsrrZrrrrZcNeZdZefdZfdZefdZdS)ITestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest2c2ddS)NsetUpClass2r_rs rrzTTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest2.setUpClasss
.....rc2ddSNtest2r_rs rrWzUTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest2.testNothing(((((rc2ddS)NtearDownClass2r_rs rrzWTestModuleCleanUp.test_run_multiple_module_cleanUp.<locals>.TestableTest2.tearDownClassrrNrrsr
TestableTest2rst

/
/
/
/[
/
)
)
)
)
)

2
2
2
2[
2
2
2rr)rr0rrrrrr0)rrrwrrr0rr0)rrrwrrr0rrrrrr0
rr	rprrrr.rqr*r)r<rrrZrr6rr5s     @@@r test_run_multiple_module_cleanUpz2TestModuleCleanUp.test_run_multiple_module_cleanUps		2		2		2		2		2		2		2		2f		2		2		2		3		3		3		3		3		3		3		3f		3		3		3	1	1	1	1	1	1	18,	1	1	1	2	2	2	2	2	2	2H-	2	2	2#,!(I#,
 !(I}---$4$4$4	5	5	5}---$4$4$4	5	5	5
}---===	>	>	>
	
7<<<<<rc.gGfddt}Gfddtj}d|_|tjd<t
||gd|tjj	gdS)Nc*eZdZefdZdS)JTestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.ModulecfdtjtdSrr4r	rr7rsrrzVTestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.Module.setUpModule.
...)'8<<<<<rN)rrrrrrsrrrs8

=
=
=
=\
=
=
=rrcNeZdZefdZfdZefdZdS)PTestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.TestableTestc2ddSrr_rs rrz[TestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.TestableTest.setUpClassrrc2ddSrr_rs rrWz\TestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrz^TestModuleCleanUp.test_run_module_cleanUp_without_teardown.<locals>.TestableTest.tearDownClass
rrNrrsrrZrrrrZ)rrrwrr0r)r<rrZr5s   @r(test_run_module_cleanUp_without_teardownz:TestModuleCleanUp.test_run_module_cleanUp_without_teardowns	=	=	=	=	=	=	=V	=	=	=	1	1	1	1	1	1	18,	1	1	1#+ &H$E$E$E	F	F	F7<<<<<rcgGfddt}Gfddtj}d|_|tjd<t
|}||jdd	dtd|gd	|tjjgdS)
NcDeZdZefdZefdZdS)QTestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.ModulecfdtjtdSrrrsrrz]TestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.Module.setUpModulerrcLdtd)Nrr2r3rsrrz`TestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.Module.tearDownModules$ 0111!,///rNrrsrrrs]

=
=
=
=\
=
0
0
0
0\
0
0
0rrcNeZdZefdZfdZefdZdS)WTestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.TestableTestc2ddSrr_rs rrzbTestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.TestableTest.setUpClass%rrc2ddSrr_rs rrWzcTestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.TestableTest.testNothing(rrc2ddSrr_rs rrzeTestModuleCleanUp.test_run_module_cleanUp_when_teardown_exception.<locals>.TestableTest.tearDownClass*rrNrrsrrZr$rrrZrr^r2r3rrr<rrZr~r5s    @r/test_run_module_cleanUp_when_teardown_exceptionzATestModuleCleanUp.test_run_module_cleanUp_when_teardown_exceptions%	0	0	0	0	0	0	0V	0	0	0	1	1	1	1	1	1	18,	1	1	1#+ &H,''q)!,7799"=+999	;	;	;$4$4$4	5	5	5	
7<<<<<rcgdGfddt}Gfddtj}d|_|tjd<tj|}||	gd|	tj
jggdtj|}|t5}|dddn#1swxYwY|	t|jd|	gd	|	tj
jgdS)
NFcFeZdZefdZefdZdS)DTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.ModulecjdtjtdSNrrrrsrrzPTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.Module.setUpModule<3
...)'8FKKKKKKrc2ddSrr_rsrrzSTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.Module.tearDownModule@rrNrrsrrr;sh

L
L
L
L
L\
L
2
2
2
2\
2
2
2rrcNeZdZefdZfdZefdZdS)JTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.TestableTestc2ddSrr_rs rrzUTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.TestableTest.setUpClassErrc2ddSrr_rs rrWzVTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.TestableTest.testNothingHrrc2ddSrr_rs rrzXTestModuleCleanUp.test_debug_module_executes_cleanUp.<locals>.TestableTest.tearDownClassJrrNrrsrrZrDrrrZrTr2)rrrwrrr1)rr	rprrrr#r$rrqr*rr
rrrr<rrZr)rr6r5s     @@r"test_debug_module_executes_cleanUpz4TestModuleCleanUp.test_debug_module_executes_cleanUp8s	2	2	2	2	2	2	2	2V	2	2	2	1	1	1	1	1	1	18,	1	1	1#+ &H*@@NN



<<<	=	=	=	
7<<<*@@NN


{
+
+	rKKMMM															R\**L999$V$V$V	W	W	W7<<<<<s:DD"DcVgdGfddt}Gfddtj}d|_|tjd<tj|}|t5}|
dddn#1swxYwY|t|j
d|gd|tjjtjjgdtj|}|t5}|
dddn#1swxYwY|t|j
d|gd|tjjtjjdS)	NFcFeZdZefdZefdZdS)STestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.ModulecjdtjtdSrrrsrrz_TestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.Module.setUpModuleerrcLdtd)NrTearDownModuleExcr3rsrrzbTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.Module.tearDownModuleis% 0111!"5666rNrrsrrrdsh

L
L
L
L
L\
L
7
7
7
7\
7
7
7rrcNeZdZefdZfdZefdZdS)YTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.TestableTestc2ddSrr_rs rrzdTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.TestableTest.setUpClassorrc2ddSrr_rs rrWzeTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.TestableTest.testNothingrrrc2ddSrr_rs rrzgTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exception.<locals>.TestableTest.tearDownClasstrrNrrsrrZr
nrrrZr)rrrwrrT)rr	rprrrr#r$r
rrrqrrrur*rrrs     @@r1test_debug_module_cleanUp_when_teardown_exceptionzCTestModuleCleanUp.test_debug_module_cleanUp_when_teardown_exceptionas	7	7	7	7	7	7	7	7V	7	7	7	1	1	1	1	1	1	18,	1	1	1#+ &H*@@NN


{
+
+	rKKMMM															R\**,?@@@$G$G$G	H	H	H
6777
&,,...*@@NN


{
+
+	rKKMMM															R\**,?@@@$G$G$G	H	H	H
6777
&,,.....s$B''B+.B+6FFFcgfdGfddtj}t5|dddn#1swxYwYt5tj|dddn#1swxYwYt
|ddddfgdS)	Nc6||fdSrr_r`s  rr7zBTestModuleCleanUp.test_addClassCleanup_arg_errors.<locals>.cleanuprrc2eZdZefdZdZdS)GTestModuleCleanUp.test_addClassCleanup_arg_errors.<locals>.TestableTestc|ddddt5|dddddS#1swxYwYdS)Nr^rgrirrrrjr)rr
r)rr7r<s rrzRTestModuleCleanUp.test_addClassCleanup_arg_errors.<locals>.TestableTest.setUpClasss##GQA1#EEE&&y11GG''g'FFFGGGGGGGGGGGGGGGGGGAA"AcdSrrr@s rrWzSTestModuleCleanUp.test_addClassCleanup_arg_errors.<locals>.TestableTest.testNothingrXrN)rrrrrrWrsrrZrsR

G
G
G
G
G[
G




rrZ)rrrrirr)r	rpr
rrrsr.rqr<rZr7rcs` @@rtest_addClassCleanup_arg_errorsz1TestModuleCleanUp.test_addClassCleanup_arg_errorss	,	,	,	,	,								8,			

y
)
)	+	+((***	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+


y
)
)	O	O((\\^^g(NNN	O	O	O	O	O	O	O	O	O	O	O	O	O	O	O!!#<#<=>	@	@	@	@	@s$A!!A%(A%*B<<CCcgfdGfddtj}t5|dddn#1swxYwYt5tj|dddn#1swxYwYt|ddddfgdS)	Nc6||fdSrr_r`s  rr7z=TestModuleCleanUp.test_addCleanup_arg_errors.<locals>.cleanuprrc"eZdZfdZdZdS)BTestModuleCleanUp.test_addCleanup_arg_errors.<locals>.TestableTestc|ddddt5|dddddS#1swxYwYdS)Nr^rgrirrr<rjr)rsr
r)self2r7r<s rrzHTestModuleCleanUp.test_addCleanup_arg_errors.<locals>.TestableTest.setUps  !Q CCC&&y11DD$$g7$CCCDDDDDDDDDDDDDDDDDDrcdSrrr@s rrWzNTestModuleCleanUp.test_addCleanup_arg_errors.<locals>.TestableTest.testNothingrXrN)rrrrrWrsrrZrsH
D
D
D
D
D
D




rrZ)r<rrrirr!)r	rpr
rrsr.rqrs` @@rtest_addCleanup_arg_errorsz,TestModuleCleanUp.test_addCleanup_arg_errorss	,	,	,	,	,								8,			

y
)
)	(	(LNN%%'''	(	(	(	(	(	(	(	(	(	(	(	(	(	(	(


y
)
)	P	P((llnnw(OOO	P	P	P	P	P	P	P	P	P	P	P	P	P	P	P!1#=#=>?	A	A	A	A	As$A))A-0A-*CCCcrgGfddt}Gfddtj}d|_|tjd<t
|}||jdd	dtd|gd	dS)
NcDeZdZefdZefdZdS)ETestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.ModulecfdtjtdSrrrsrrzQTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.Module.setUpModulerrc2ddSrr_rsrrzTTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.Module.tearDownModulerrNrrsrrr']

=
=
=
=\
=
2
2
2
2\
2
2
2rrcNeZdZefdZfdZefdZdS)KTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.TestableTestcld|tddSr<rrs rrzVTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.TestableTest.setUpClassr=rc2ddSrr_rs rrWzWTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzYTestModuleCleanUp.test_with_errors_in_addClassCleanup.<locals>.TestableTest.tearDownClassrrNrrsrrZr,sy

D
D
D
D[
D
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr^r2r3)rrrwrr1rr0rr	rprrrr.rqrr5rrs    @r#test_with_errors_in_addClassCleanupz5TestModuleCleanUp.test_with_errors_in_addClassCleanups	2	2	2	2	2	2	2V	2	2	2		1		1		1		1		1		1		18,		1		1		1#+ &H,''q)!,7799"=+999	;	;	;KKK	L	L	L	L	LrcrgGfddt}Gfddtj}d|_|tjd<t
|}||jdd	dtd|gd	dS)
NcDeZdZefdZefdZdS)@TestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.ModulecfdtjtdSrrrsrrzLTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.Module.setUpModulerrc2ddSrr_rsrrzOTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.Module.tearDownModulerrNrrsrrr4r*rrc.eZdZfdZfdZfdZdS)FTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.TestableTestcld|tddSr,r-rs rrzLTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.TestableTest.setUpr.rc2ddSrr_rs rrWzRTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzOTestModuleCleanUp.test_with_errors_in_addCleanup.<locals>.TestableTest.tearDownrrNrrsrrZr8se
@
@
@
@
@
(
(
(
(
(
,
,
,
,
,
,
,rrZrr^r2r3)rrrwrr1rr0r0rs    @rtest_with_errors_in_addCleanupz0TestModuleCleanUp.test_with_errors_in_addCleanups	2	2	2	2	2	2	2V	2	2	2	,	,	,	,	,	,	,8,	,	,	,#+ &H,''q)!,7799"=+999	;	;	;KKK	L	L	L	L	LrcgdddGfddt}Gfddtj}d|_|tjd<t
|}||jdd	dtd	|gd
gdddt
|}||jdd	dtd||jdd	dtd	|d
dggdddt
|}||jdd	dtd||jdd	dtd	|gdgdddt
|}||jdd	dtd||jdd	dtd	|gddS)NFcFeZdZefdZefdZdS)QTestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.Modulecdtjtdrt	ddS)NrTr	ModuleExcrmodule_blow_upr5srrz]TestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.Module.setUpModulesM
...)'8DIIII!3%k22233rc2ddSrr_rsrrz`TestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.Module.tearDownModulerrNrrBsrrr?sb

3
3
3
3
3\
3

2
2
2
2\
2
2
2rrc\eZdZefdZfdZfdZefdZdS)WTestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.TestableTestcTdrtddS)NrrFr3rGs rrzbTestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.TestableTest.setUpClass	s5--- 2%j11122rcTdrtddSrJr3rLs rrz]TestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.TestableTest.setUprNrc2ddSrr_rs rrWzcTestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.TestableTest.testNothingrrc2ddSrr_rs rrzeTestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUps.<locals>.TestableTest.tearDownClassrrNr1rQsrrZrFs

2
2
2
2
2[
2
3
3
3
3
3
3
(
(
(
(
(

1
1
1
1[
1
1
1rrZrr^r2r3)rrrrwrrr1Tz: ModuleExcrr1rR)rrrr1rS)rrrrrr1r0)r<rrZr~rHrMrCr5s    @@@@r/test_with_errors_in_addModuleCleanup_and_setUpszATestModuleCleanUp.test_with_errors_in_addModuleCleanup_and_setUpss
		2		2		2		2		2		2		2		2V		2		2		2	1	1	1	1	1	1	1	1	18,	1	1	1 #+ &H,''q)!,7799"=+999	;	;	;)))	*	*	*

,''q)!,7799"=+888	:	:	:q)!,7799"=+999	;	;	;M=#ABBB
,''q)!,7799"=+777	9	9	9q)!,7799"=+999	;	;	;$E$E$E	F	F	F
,''q)!,7799"=+888	:	:	:q)!,7799"=+999	;	;	;$3$3$3	4	4	4	4	4rcRgfdfdfdGfddt}Gfddtj}Gfdd	tj}d|_d|_|tjd<t
|||gd
dS)Nc2ddSrr_rsrrdzMTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.cleanup1Irrc2ddSrr_rsrrhzMTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.cleanup2Lrrc2ddSrr_rsrrzMTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.cleanup3OrrcFeZdZefdZefdZdS)KTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.ModulecZdtjdSr)r4r	rrdr5srrzWTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.Module.setUpModuleSs,
...)(33333rc2ddSrr_rsrrzZTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.Module.tearDownModuleWrrNrrSsrrrQRsb

4
4
4
4
4\
4
2
2
2
2\
2
2
2rrc0eZdZfdZfdZfdZdS)QTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.TestableTestc\d|dSrr)r<rhr5s rrzWTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.TestableTest.setUp\rrc2ddSrr_rs rrWz]TestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.TestableTest.testNothing_rrc2ddSrr_rs rrzZTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.TestableTest.tearDownarrNr)rhr5srrZrV[se
*
*
*
*
*
*
(
(
(
(
(
,
,
,
,
,
,
,rrZc0eZdZfdZfdZfdZdS)VTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.OtherTestableTestc\d|dS)NsetUp2rrs rrz\TestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.OtherTestableTest.setUpes-))))))))rc2ddSrr_rs rrWzbTestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.OtherTestableTest.testNothinghrrc2ddS)N	tearDown2r_rs rrz_TestModuleCleanUp.test_module_cleanUp_with_multiple_classes.<locals>.OtherTestableTest.tearDownjs,,,,,rNr)rr5srOtherTestableTestr[dse
*
*
*
*
*
*
)
)
)
)
)
-
-
-
-
-
-
-rra)rrrwrrhr]rr`rrrd)rr	rprrrr.rq)r<rrZrardrhrr5s    @@@@r)test_module_cleanUp_with_multiple_classesz;TestModuleCleanUp.test_module_cleanUp_with_multiple_classesGsr	(	(	(	(	(	(	(	(	(	(	(	(	(	(	(	2	2	2	2	2	2	2	2V	2	2	2	,	,	,	,	,	,	,	,8,	,	,	,	-	-	-	-	-	-	-	- 1	-	-	-#+'/$ &H0111DDD	E	E	E	E	ErcNg}tj|jdt|d}|tj|dtj|jdtj||gddS)Nrdrrhr)r	rr4r9rqenterModuleContextr*r)r<rcrs   rtest_enterModuleContextz)TestModuleCleanUp.test_enterModuleContextvs!(/:>>>
Hb
!
!4R88"===!(/:>>>
&&(((#L#L#LMMMMMrcrGddtj}|td5tjtdddn#1swxYwY|td5tjt
dddn#1swxYwY|td5tjtdddn#1swxYwY|tj	j
gdS)NceZdZdZdS)JTestModuleCleanUp.test_enterModuleContext_arg_errors.<locals>.TestableTestcdSrrr@s rrWzVTestModuleCleanUp.test_enterModuleContext_arg_errors.<locals>.TestableTest.testNothingrXrNrYrrrrZrhr[rrZr)r	rprrrdrHrJrOrqr*rrgs  r"test_enterModuleContext_arg_errorsz4TestModuleCleanUp.test_enterModuleContext_arg_errorss					8,			
#
#I/D
E
E	=	='(9(;(;<<<	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=

#
#I/D
E
E	6	6'
555	6	6	6	6	6	6	6	6	6	6	6	6	6	6	6

#
#I/D
E
E	5	5'	444	5	5	5	5	5	5	5	5	5	5	5	5	5	5	5	
7<<<<<s5!A!!A%(A%!B44B8;B8!DDDN)rrrrrrrrrrrrrr$r1r<rKrbrerjrrrrrOs3===0===,
<
<
<%=%=%=NI=I=I=V===2===@'='='=R+/+/+/Z@@@,AAA*LLLBLLL<M4M4M4^-E-E-E^	N	N	N=====rrceZdZ	dZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
ejdZd
ZdZdS)Test_TextTestRunnercztjd|_|jrtjd=dSdSNPYTHONWARNINGS)osenvirongetpythonwarningsr@s rrzTest_TextTestRunner.setUpsA!jnn-=>>	-
+,,,	-	-rc@|jr|jtjd<dSdSrn)rsrprqr@s rrzTest_TextTestRunner.tearDowns-	?+/+>BJ'(((	?	?rctj}||j||j||jd||jd||j	||j
tj||jdSr])
r	rrfailfastbufferrq	verbositywarningsrudescriptionsrTextTestResult	tb_locals)r<r,s  r	test_initzTest_TextTestRunner.test_inits(**)))''')1---$///+,,,+X-DEEE)*****rcGfddtjGddtj}|ddddS)Nc"eZdZfdZxZS)>Test_TextTestRunner.test_multiple_inheritance.<locals>.AResultcRt||||dSr)superr=)r<rrzrxAResult	__class__s    rr=zGTest_TextTestRunner.test_multiple_inheritance.<locals>.AResult.__init__s+gt$$--flINNNNNr)rrrr=
__classcell__)rrs@rrrsH
O
O
O
O
O
O
O
O
O
OrrceZdZdS)BTest_TextTestRunner.test_multiple_inheritance.<locals>.ATextResultNrrrrATextResultrsDrrr^)r	r
r{)r<rrs  @rtest_multiple_inheritancez-Test_TextTestRunner.test_multiple_inheritances	O	O	O	O	O	O	Oh)	O	O	O					(17			
	D$"""""rcfGddtj}tjtjt	jdd}fd|_||d|j	|j
dS)NceZdZdZdS)7Test_TextTestRunner.testBufferAndFailfast.<locals>.TestcdSrrr@s rtestFooz?Test_TextTestRunner.testBufferAndFailfast.<locals>.Test.testFoorXrNrrrrrrrTestrr[rrT)rrvrwcSrrr}sr<lambda>z;Test_TextTestRunner.testBufferAndFailfast.<locals>.<lambda>Vrr)r	rpr
rrr_makeResultr'rurvrw)r<rr,r~s   @rtestBufferAndFailfastz)Test_TextTestRunner.testBufferAndFailfasts					8$			$&&(

04666,^^^

44	??###(((
&&&&&rctjtjd}|tj}|d|jdS)NT)rr|)r	rrrr'r"rqr|)r<r,r~s   rtest_localszTest_TextTestRunner.test_localssV(

NNNH.0011v/00000rcGddtj}tjjfd}|tjtjtj}fd|_	d_
fd}|tj_|tj
j
ddS)	NceZdZdZdS);Test_TextTestRunner.testRunnerRegistersResult.<locals>.TestcdSrrr@s rrzCTest_TextTestRunner.testRunnerRegistersResult.<locals>.Test.testFoorXrNrrrrrrr[rrc*tj_dSr)r	r,registerResult)originalRegisterResultsrr7z>Test_TextTestRunner.testRunnerRegistersResult.<locals>.cleanups-CHO***r)rcSrrr}srrz?Test_TextTestRunner.testRunnerRegistersResult.<locals>.<lambda>rrrcTxjdz
c_|dSr])
wasRegisteredrq)
thisResultr~r<s rfakeRegisterResultzITest_TextTestRunner.testRunnerRegistersResult.<locals>.fakeRegisterResults3!#Z00000rr^)r	rpr,rrsr
rrrrrr'r"rq)r<rr7r,rrr~s`    @@rtestRunnerRegistersResultz-Test_TextTestRunner.testRunnerRegistersResults					8$			"*!?	D	D	D	D	D   $&&(

>>>+^^^	1	1	1	1	1	1*<&

8%''(((+Q/////rcGddtGfddtj}|tjdS)NceZdZdZdZdS)bTest_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun.<locals>.OldTextResultr cdSrrr@s rprintErrorsznTest_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun.<locals>.OldTextResult.printErrorsrXrNrrr
separator2rrrr
OldTextResultr(J




rrc,eZdZfdZfdZxZS)[Test_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun.<locals>.Runnercpt|tjdSr)rr=rr)r<Runnerrs rr=zdTest_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun.<locals>.Runner.__init__s-fd##,,R[]];;;;;rcSrr)r<rs rrzgTest_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRun.<locals>.Runner._makeResults$}&rrrrr=rr)rrrs@rrrsW
<
<
<
<
<
<
'
'
'
'
'
'
'
'
'rr)rr	rr'r")r<r,rrs  @@r7test_works_with_result_without_startTestRun_stopTestRunzKTest_TextTestRunner.test_works_with_result_without_startTestRun_stopTestRuns					?			
	'	'	'	'	'	'	'	'X,	'	'	'

8%''(((((rcGddtGfddtjg}|}|tjddg}|||dS)NceZdZdZdZdS)STest_TextTestRunner.test_startTestRun_stopTestRun_called.<locals>.LoggingTextResultr cdSrrr@s rrz_Test_TextTestRunner.test_startTestRun_stopTestRun_called.<locals>.LoggingTextResult.printErrorsrXrNrrrrLoggingTextResultrrrrc,eZdZfdZfdZxZS)OTest_TextTestRunner.test_startTestRun_stopTestRun_called.<locals>.LoggingRunnerc~t|tj||_dSr)rr=rr_events)r<events
LoggingRunnerrs  rr=zXTest_TextTestRunner.test_startTestRun_stopTestRun_called.<locals>.LoggingRunner.__init__s2mT**33BKMMBBB%rc$|jSr)r)r<rs rrz[Test_TextTestRunner.test_startTestRun_stopTestRun_called.<locals>.LoggingRunner._makeResults((666rr)rrrs@rrrsW
&
&
&
&
&
&
7
7
7
7
7
7
7
7
7rrstartTestRunstopTestRun)rr	rr'r"rq)r<rr,expectedrrs    @@r$test_startTestRun_stopTestRun_calledz8Test_TextTestRunner.test_startTestRun_stopTestRun_calleds					
			
	7	7	7	7	7	7	7	7H3	7	7	7v&&

8%''((("M2*****rcftjd}tj|}t	dt
jdzD]j}tj||}tj|}|	|j
|kdS)Nrrgr^)rrr	rrangepickleHIGHEST_PROTOCOLdumpsloadsrqrgetvalue)r<rr,protocolsobjs      rtest_pickle_unpicklez(Test_TextTestRunner.test_pickle_unpicklesU##(00a!81!<==	G	GHVX..A,q//CSZ0022FOO4E4EFFFF		G	Grc*d}t}t}t}tj||||}||j||j||f}|||dS)Nc|Srr)ras rMockResultClassz=Test_TextTestRunner.test_resultclass.<locals>.MockResultClasssKr)r)rr	rrqrrr)r<rSTREAMDESCRIPTIONS	VERBOSITYr,expectedresults       rtest_resultclassz$Test_TextTestRunner.test_resultclasss			xxHH	(y5DFFF+_=== -yA++--~>>>>>rcj	d}ttjtjtjt}d}d}tjtj	ddgfi|}|5||\}}dddn#1swxYwY|
d||t|dd	D]+}||
|d
,||dfD]+}||
|d,tj	dd
gtj	ddd
gtj	ddgf}	|	D]u}
tj|
fi|}|5||\}}dddn#1swxYwY|
d||t|dvtjtj	ddgfi|}|5||\}}dddn#1swxYwY|
d||t|ddD]+}||
|d
,||fD]+}||
|d,dS)Nc>d|DS)Nc6g|]}|Sr)r5).0bs  r
<listcomp>zPTest_TextTestRunner.test_warnings.<locals>.get_parse_out_err.<locals>.<listcomp>$s <<<qALLNN<<<r)communicate)ps rget_parse_out_errz<Test_TextTestRunner.test_warnings.<locals>.get_parse_out_err#s<<AMMOO<<<<r)stdoutstderrcwdsPlease use assertEqual instead.sPlease use assertTrue instead.z-Ez_test_warnings.pysOK)dwiwuwrirwr^ignorez-Waz-Wiralways)rrrr)rt
subprocessPIPErppathdirname__file__Popenr
executablerrqr count)r<roptsae_msgat_msgrouterrmsg	args_listras           r
test_warningsz!Test_TextTestRunner.test_warningss		=	=	=:?:?1133332
cnd4GHQQDQQ
	,	,((++HC	,	,	,	,	,	,	,	,	,	,	,	,	,	,	,

eS!!!S2&&&(	0	0CSYYs^^Q////FE*	0	0CSYYs^^Q////^0(;
^U$7B
^U$78

		*	*D ....A
0
0,,Q//S
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0MM%%%%SXXq))))

cn.A8L
%
%#
%
%
	,	,((++HC	,	,	,	,	,	,	,	,	,	,	,	,	,	,	,

eS!!!S2&&&/	0	0CSYYs^^Q////F#	0	0CSYYs^^Q////	0	0s62B

BB5FF	F	6HHHctj}tj}|t_	t	j}||jj|u|t_dS#|t_wxYwr)rrrrr	rrur)r<
old_stderrfr,s    r%testStdErrLookedUpAtInstantiationTimez9Test_TextTestRunner.testStdErrLookedUpAtInstantiationTimeUshZ
KMM
	$,..FOOFM0A5666#CJJJCJ####s4A//A=ctj}tj|}||jj|udSr)rrr	rrur)r<rr,s   rtestSpecifiedStreamUsedz+Test_TextTestRunner.testSpecifiedStreamUsed`s?KMM(++
,122222rN)rrrrrr}rrrrrrrrrrequires_subprocessrrrrrrrlrls#---???
+++
#
#
#'''111
000.))) +++(	G	G	G???!W ""7070#"70r	$	$	$33333rrl)F)rrprrrrwrr	
unittest.caserunittest.test.supportrrr
r	Exceptionrrrr.r7r9rHrJrOrprRrrrlmainrrr<module>rs								







""""""HHHHHHHH!!!999
					)			(0:'='=X^^2RRR!!!"((((
%
%
%
%
%
%
%
%								















g-g-g-g-g-(#g-g-g-TS4S4S4S4S4x(S4S4S4l
~=~=~=~=~=)~=~=~=BT3T3T3T3T3(+T3T3T3nzHMOOOOOr