Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.118.196.177
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_cfgparser.pyc
�
?��cc@spddlZddlZddlZddlZddlZddlmZdejfd��YZdejfd��YZ	de	fd��YZ
d	e	fd
��YZde	fd��YZd
e
fd��YZ
de
fd��YZdejfd��YZdejfd��YZdefd��YZdejfd��YZd�Zedkrle�ndS(i����N(ttest_supportt
SortedDictcBsDeZd�Zd�Zd�Zd�Zd�ZeZd�ZRS(cCs|jj�}|j�|S(N(tdatatitemstsort(tselftresult((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRs
cCs|jj�}|j�|S(N(RtkeysR(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRs
cCs'|j�}g|D]}|d^qS(Ni(R(RRti((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytvaluesscCst|j��S(N(titerR(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt	iteritemstcCst|j��S(N(R
R(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytiterkeysRcCst|j��S(N(R
R	(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
itervaluesR(	t__name__t
__module__RRR	RR
t__iter__R(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR
s					tTestCaseBasecBs�eZeZdd�Zdd�Zd�Zd�Zd�Z	d�Z
d�Zd�Zd�Z
d	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�ZRS(cCsI|dkr'|jd|j�|_n|j|d|j�|_|jS(Ntallow_no_value(tNonetconfig_classRtcf(Rtdefaults((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt	newconfig#s
cCs/|j|�}tj|�}|j|�|S(N(RtStringIOtreadfp(RtstringRRtsio((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
fromstring+s
cCs�d}|jr|d7}n|j|�}|j�}|j�ddddddd	g}|jru|jd
�n|j�|j}|||�||jdd�d�||jd	d�d�||jdd�d�||jdd
�d�||jdd�d�|jr7||jd
d�d�n|jd|j	d�d�|j
|jdd�d�|j|j
dd�d�|j|jdd�d�|jtj|jdd�||jdd�d�dS(NsQ[Foo Bar]
foo=bar
[Spacey Bar]
foo = bar
[Commented Bar]
foo: bar ; comment
[Long Line]
foo: this line is much, much longer than my editor
   likes it.
[Section\with$weird%characters[	]
[Internationalized Stuff]
foo[bg]: Bulgarian
foo=Default
foo[en]=English
foo[de]=Deutsch
[Spaces]
key with spaces : value
another with spaces = splat!
s[NoValue]
option-without-value
s
Commented BarsFoo BarsInternationalized Stuffs	Long LinesSection\with$weird%characters[	tSpacess
Spacey BartNoValuetfootbarskey with spacestvaluesanother with spacesssplat!soption-without-valueRs3__name__ "option" should not be exposed by the API!s4remove_option() failed to report existence of options'remove_option() failed to remove optionsIremove_option() failed to report non-existence of option that was removedsNo Such Sections7this line is much, much longer than my editor
likes it.(RRtsectionsRtappendtassertEqualtgetRtassertNotIntoptionst
assertTruet
remove_optiontassertFalset
has_optiontassertRaisestConfigParsertNoSectionError(Rt
config_stringRtLtEteq((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
test_basic1sL	

		
	
	cCs�|j�}|jd�|jd�|j�}|j�|j}||ddg�|jddd�||jd�dg�||jdd�dd�|j|j	dd��|jddd�x*dD]"}|j|j	d|�d�q�W||jd�d	g�||jd�dg�|j
dd�||jd�g�|jd
�}||jd�dg�||jdd�d�|jddidd6�}|j|j	dd��dS(NtAtatBR"tbs@could not locate option, expecting case-insensitive option namessA-Bs	A-B valuesa-bsA-bsa-Bs9has_option() returned false for option which should exists,[MySection]
Option: first line
	second line
t	MySectiontoptiontOptionsfirst line
second lines[section]
nekey=nevalue
RtkeytsectiontKey(sa-bsA-bsa-BsA-B(Rtadd_sectionR#RR%tsetR(R&R)R,R*R(RRR1R3topt((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_case_sensitivity{s8


	
	cCsn|jidd6�}|j|jdd�dd�|jidd6�}|j|jdd�dd�dS(NtBarR tDEFAULTtFoos@could not locate option, expecting case-insensitive option namess<could not locate option, expecting case-insensitive defaults(RR%R&(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_default_case_sensitivity�scCsm|j�|jtjd�|jtjd�|jtjd�|jtjd�|jtjd�dS(Ns[Foo]
  extra-spaces: splat
s[Foo]
  extra-spaces= splat
s![Foo]
:value-without-option-name
s![Foo]
=value-without-option-name
sNo Section!
(Rtparse_errorR.tParsingErrortMissingSectionHeaderError(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_parse_errors�s
cCs,tj|�}|j||jj|�dS(N(RR-RR(RtexctsrcR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRG�scCs�|j�}|j|j�gd�|j|jd�d�|jtj|jd�|jtj|j	ddd�|j
tjdd�|jd�|j
tjdd�dS(Ns0new ConfigParser should have no defined sectionsREs5new ConfigParser should have no acknowledged sectionsR R!R"(
RR%R#R+thas_sectionR-R.R/R(R@t	get_errorR?t
NoOptionError(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_query_errors�s

cCsOy|jj||�Wn|k
r-}|SX|jd|j|jf�dS(Nsexpected exception type %s.%s(RR&tfailRR(RRKR=R:te((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRN�s	cCs�|jd�}xntdd�D]]}|j|jdd|��|j|jdd|��|jt|jdd|�qWdS(Ns{[BOOLTEST]
T1=1
T2=TRUE
T3=True
T4=oN
T5=yes
F1=0
F2=FALSE
F3=False
F4=oFF
F5=nO
E1=2
E2=foo
E3=-1
E4=0.1
E5=FALSE AND MOREiitBOOLTESTst%dsf%dse%d(RtrangeR)t
getbooleanR+R-t
ValueError(RRtx((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_boolean�s		cCs6|j�}|jd�|jtj|jd�dS(NRE(RR?R-R.tDuplicateSectionError(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_weird_errors�s
cCszd}|jr|d7}n|j|�}tj�}|j|�d}|jr`|d7}n|j|j�|�dS(Nss[Long Line]
foo: this line is much, much longer than my editor
   likes it.
[DEFAULT]
foo: another very
 long line
s![Valueless]
option-without-value
su[DEFAULT]
foo = another very
	long line

[Long Line]
foo = this line is much, much longer than my editor
	likes it.

s"[Valueless]
option-without-value

(RRRtwriteR%tgetvalue(RR0Rtoutputt
expect_string((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
test_write�s	

		
cCs�|jd�}dtfd��Y}|jddd�|jdd|d��|jddd�|jdd|d��dS(Ns[sect]
option1=foo
tmystrcBseZRS((RR(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR`stsecttoption1tsplattoption2(RtstrR@(RRR`((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_set_string_typesscCsnytWntk
r(|jd�nX|jd�}|jddtd��|jddtd��dS(Nsno unicode supports[sect]
option1=foo
RaRbRcRd(tunicodet	NameErrortskipTestRR@(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_set_unicode s
cCstjd�}|j�}|j|dg�}|j||g�|j|jdd�d�|j�}|j|�}|j||g�|j|jdd�d�|j�}|jdg�}|j|g�|j�}|jg�}|j|g�dS(Nscfgparser.1snonexistent-filesFoo BarR tnewbar(RtfindfileRtreadR%R&(Rtfile1Rtparsed_files((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_read_returns_file_list+scCs|jddidd6�S(Ns�[Foo]
bar=something %(with1)s interpolation (1 step)
bar9=something %(with9)s lots of interpolation (9 steps)
bar10=something %(with10)s lots of interpolation (10 steps)
bar11=something %(with11)s lots of interpolation (11 steps)
with11=%(with10)s
with10=%(with9)s
with9=%(with8)s
with8=%(With7)s
with7=%(WITH6)s
with6=%(with5)s
With5=%(with4)s
WITH4=%(with3)s
with3=%(with2)s
with2=%(with1)s
with1=with

[Mutual Recursion]
foo=%(bar)s
bar=%(foo)s

[Interpolation Error]
name=%(reference)s
Rs%(__name__)stgetname(R(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytget_interpolation_configAscCsO|jddidd6�}t|jd��}|j�|j||�dS(NsY[section]
name = value
key: |%(name)s| 
getdefault: |%(default)s|
getname: |%(__name__)s|Rs	<default>tdefaultR=(RtlistRRR%(RtexpectedRR1((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytcheck_items_config]s
N(RRtFalseRRRRR4RBRFRJRGRPRNRXRZR_RfRjRpRrRv(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR s$	J	#	
	
							$				tConfigParserTestCasecBs;eZejZeZd�Zd�Zd�Zd�Z	RS(cCs�idtj6dtj6}|j�}|j}||jdd�d�||jdd�d�||jdd�d�||jdd	�d
�|jtjdd�dS(Ns5something %(with11)s lots of interpolation (11 steps)s	%(with1)sRERqR!s%something with interpolation (1 step)tbar9s.something with lots of interpolation (9 steps)tbar10s/something with lots of interpolation (10 steps)tbar11(R.tSafeConfigParserRrR%R&RNtInterpolationDepthError(RtrawvalRR3((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_interpolationns

	cCs_|j�|jtjdd�}|j|jd�|j|jd�|j|jd�dS(NsInterpolation Errortnamet	reference(RrRNR.tInterpolationErrorR%R�R=R:(RRR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt test_interpolation_missing_value~s
cCs |jddd
ddg�dS(NRss	<default>t
getdefaults|<default>|Rqs	|section|R<s|value|R�R"(Rss	<default>(R�s|<default>|(Rqs	|section|(R<s|value|(R�R"(Rv(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
test_items�s
	cCs�|j�}|jd�|jddd�|jddddddddd	d
dg	�|jddid
d6dd6dd6�|jddd�|jdd�|j|jdddt�d�|jt|jdd�|j|jdddt�ddddddd	d
dg	�|jt|jdd�|j|jdddt�id
d6dd6dd6�|jt|jdd�|j|jdddt�d�|jt|jdddt	�|j|jdd�d�dS(Ns
non-stringtintiRtiiiiii
s%(tdictgn��!	@tpis%(list)tstring_with_interpolations%(list)ssno-valuetraw(RR?R@R%R&tTrueR-t	TypeErrorRVRwR(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_set_nonstring_types�s*
.""

(
RRR.RR�RRR�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRxjs				tMultilineValuesTestCasecBs>eZejZdjdd�Zd�Zd�Zd�ZRS(sSI'm having spam spam spam spam spam spam spam beaked beans spam spam spam and spam!t s	
cCs�|j�}xftd�D]X}dj|�}|j|�x3td�D]%}|j|dj|�|j�qHWqWttjd��}|j	|�WdQXdS(Nids	section{}i
s
lovely_spam{}tw(
RRTtformatR?R@twonderful_spamtopenRtTESTFNR[(RRRtstjtf((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytsetUp�s
'cCstjtj�dS(N(tostunlinkRR�(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttearDown�scCs`|j�}ttj��}|j|�WdQX|j|jdd�|jjdd��dS(Ntsection8tlovely_spam4s	
s
(	RR�RR�RR%R&R�treplace(Rtcf_from_fileR�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt test_dominating_multiline_values�s
(	RRR.RR�R�R�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR��s		
	tRawConfigParserTestCasecBs,eZejZd�Zd�Zd�ZRS(cCs�|j�}|j}||jdd�d�||jdd�d�||jdd�d�||jdd�d	�||jdd
�d�dS(NRERqs%(__name__)sR!s*something %(with1)s interpolation (1 step)Rys3something %(with9)s lots of interpolation (9 steps)Rzs5something %(with10)s lots of interpolation (10 steps)R{s5something %(with11)s lots of interpolation (11 steps)(RrR%R&(RRR3((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�s	cCs |jddd
ddg�dS(NRss	<default>R�s
|%(default)s|Rqs|%(__name__)s|R<s
|%(name)s|R�R"(Rss	<default>(R�s
|%(default)s|(Rqs|%(__name__)s|(R<s
|%(name)s|(R�R"(Rv(R((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR��s
	cCs�|j�}|jd�|jddd�|jddddddddd	d
g�|jddidd
6�|j|jdd�d�|j|jdd�ddddddd	d
g�|j|jdd�idd
6�dS(Ns
non-stringR�iRtiiiiii
R�gn��!	@R�(RR?R@R%R&(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR��s
+(RRR.tRawConfigParserRRR�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR��s		
	tSafeConfigParserTestCasecBs>eZejZd�Zd�Zd�Zd�Zd�Z	RS(cCsK|jd�}|j|jdd�d�|j|jdd�d�dS(NsW[section]
option1=xxx
option2=%(option1)s/xxx
ok=%(option1)s/%%s
not_ok=%(option2)s/%%sR=toksxxx/%stnot_oks
xxx/xxx/%s(RR%R&(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_safe_interpolation�scCs�|jd�}|j|jdd�d�|jt|jddd�|jt|jddd�|jt|jddd�|j|jdd�d�|jddd	�|j|jdd�d
�dS(Ns[sect]
option1=foo
RaRbR s%foosfoo%sf%ooRdsfoo%%barsfoo%bar(RR%R&R-RVR@(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt#test_set_malformatted_interpolation�scCs�|jd�}|jt|jddd�|jt|jddd�|jt|jddt��|jt|jddd�|jt|jddd�|jt|jddt��dS(Ns[sect]
option1=foo
RaRbig�?Rd(RR-R�R@tobject(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�scCs&|j�}|jt|jd�dS(NRs(RR-RVR?(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_add_section_default_1scCs&|j�}|jt|jd�dS(NRD(RR-RVR?(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_add_section_default_2s(
RRR.R|RR�R�R�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR��s		
			tSafeConfigParserTestCaseNoValuecBseZeZRS((RRR�R(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�stTestChainMapcBseZd�ZRS(c
Cs7tdddd�}tdddd�}|j�}|j|�tj||�}|j|j�t�|jt	|j��t	|j���|jt	|j
��t	|j
���|jt	|j��t	|j���|jt	|�t	|��|j||�|jg|D]}||^q|j
��dj�}|jg|D]}|j
|d	�^qUg|D]}|j
|d	�^qw�|jg|D]}||k^q�g|D]}||k^q��tj��M|jg|D]}|j|�^q�g|D]}|j|�^q�WdQXdS(
Ntreditgreeniitblueisred green blue black browni
(R�tcopytupdateR.t	_ChainmaptassertIsInstanceRRtR%R@R	RtsplitR&Rtcheck_py3k_warningsthas_key(Rtd1td2tdcombtcmtktklist((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_issue_12717s(
(((-(&" 
%(RRR�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�stIssue7005TestCasecBs/eZdZdZd�Zd�Zd�ZRS(srTest output when None is set() as a value and allow_no_value == False.

    http://bugs.python.org/issue7005

    s[section]
option = None

cCsR|dt�}|jd�|jddd�tj�}|j|�|j�S(NRR=R:(RwR?R@RRR[R\(RRtcpR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pytprepare8s

cCs)|jtj�}|j||j�dS(N(R�R.R%texpected_output(RR]((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_none_as_value_stringifiedAscCs)|jtj�}|j||j�dS(N(R�R.R�R%R�(RR]((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt"test_none_as_value_stringified_rawEs(RRt__doc__R�R�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�/s
			tSortedTestCasecBseZdd�Zd�ZRS(cCs"|jd|dt�|_|jS(NRt	dict_type(RRR(RR((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyRKscCsC|jd�tj�}|jj|�|j|j�d�dS(Ns [b]
o4=1
o3=2
o2=3
o1=4
[a]
k=v
s,[a]
k = v

[b]
o1 = 4
o2 = 3
o3 = 2
o4 = 1

(RRRR[R%R\(RR]((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_sortedOs

N(RRRRR�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�JstExceptionPicklingTestCasecBsheZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�ZRS(sBTests for issue #13760: ConfigParser exceptions are not picklable.cCs�ddl}tjd�}xnt|jd�D]Y}|j||�}|j|�}|j|j|j�|jt	|�t	|��q/WdS(Ni����R"i(
tpickleR.tErrorRTtHIGHEST_PROTOCOLtdumpstloadsR%tmessagetrepr(RR�te1tprototpickledte2((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt
test_errorfscCs�ddl}tjd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��q/WdS(Ni����R=i(R�R.R/RTR�R�R�R%R�targsR=R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_nosectionerroroscCs�ddl}tjdd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|jt|�t|��q2WdS(Ni����R:R=i(
R�R.RORTR�R�R�R%R�R�R=R:R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_nooptionerrorzscCs�ddl}tjd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��q/WdS(Ni����R=i(R�R.RYRTR�R�R�R%R�R�R=R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_duplicatesectionerror�scCs�ddl}tjddd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|jt|�t|��q5WdS(Ni����R:R=tmsgi(
R�R.R�RTR�R�R�R%R�R�R=R:R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_interpolationerror�scCs�ddl}tjdddd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|j|j|j�|jt
|�t
|��q8WdS(Ni����R:R=R~R�i(R�R.tInterpolationMissingOptionErrorRTR�R�R�R%R�R�R=R:R�R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt$test_interpolationmissingoptionerror�scCs�ddl}tjddd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|jt|�t|��q5WdS(Ni����R:R=R�i(
R�R.tInterpolationSyntaxErrorRTR�R�R�R%R�R�R=R:R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_interpolationsyntaxerror�scCs�ddl}tjddd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|jt|�t|��q5WdS(Ni����R:R=R~i(
R�R.R}RTR�R�R�R%R�R�R=R:R�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_interpolationdeptherror�s	cCsddl}tjd�}|jdd�|jdd�|jdd�x�t|jd�D]�}|j||�}|j|�}|j|j	|j	�|j|j
|j
�|j|j|j�|j|j|j�|jt
|�t
|��q_WdS(	Ni����tsourceitline1itline2itline3(R�R.RHR$RTR�R�R�R%R�R�tfilenameterrorsR�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_parsingerror�scCs�ddl}tjddd�}x�t|jd�D]�}|j||�}|j|�}|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|j|j|j�|jt
|�t
|��q5WdS(Ni����R�i{tlinei(R�R.RIRTR�R�R�R%R�R�R�R�tlinenoR�(RR�R�R�R�R�((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyttest_missingsectionheadererror�s(
RRR�R�R�R�R�R�R�R�R�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyR�cs									
	c
Cs)tjtttttttt	t
�	dS(N(Rtrun_unittestRxR�R�R�R�R�R�R�R�(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt	test_main�st__main__(R.RR�tunittesttUserDictttestRRtTestCaseRRxR�R�R�R�R�R�R�R�R�R(((s:/usr/local/python-2.7/lib/python2.7/test/test_cfgparser.pyt<module>s(�K:#2~	
© 2025 GrazzMean