Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/test/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/test/__pycache__/test_configparser.cpython-33.pyc

�
��fc@sddlZddlZddlZddlZddlZddlZddlZddlZddlm	Z	Gdd�dej
�ZGdd�d�ZGdd�de�Z
Gd	d
�d
e
ej�ZGdd�de
ej�ZGd
d�de
ej�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de
ej�ZGdd�de
ej�ZGdd�de�ZGdd�deej�ZGdd�de
ej�ZGdd �d e�ZGd!d"�d"eej�ZGd#d$�d$ej�ZGd%d&�d&e�ZGd'd(�d(eej�ZGd)d*�d*e
ej�ZGd+d,�d,�Z d-d.�Z!Gd/d0�d0ej�Z"Gd1d2�d2ej�Z#Gd3d4�d4ej�Z$Gd5d6�d6ej�Z%e&d7krej'�ndS(8iN(usupportcBsb|EeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�ZeZ	d
S(u
SortedDictcCst|jj��S(N(usortedudatauitems(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuitemssuSortedDict.itemscCst|jj��S(N(usortedudataukeys(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyukeyssuSortedDict.keyscCsdd�|j�D�S(NcSsg|]}|d�qS(i((u.0ui((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
<listcomp>s	u%SortedDict.values.<locals>.<listcomp>(uitems(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuvaluessuSortedDict.valuescCst|j��S(N(uiteruitems(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu	iteritemssuSortedDict.iteritemscCst|j��S(N(uiterukeys(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuiterkeyssuSortedDict.iterkeyscCst|j��S(N(uiteruvalues(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
itervaluessuSortedDict.itervaluesN(
u__name__u
__module__u__qualname__uitemsukeysuvaluesu	iteritemsuiterkeysu
itervaluesu__iter__(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
SortedDictsu
SortedDictcBsq|EeZdZd
ZdZdZd
ZdZ	e
jZd
Z
e
jZe
jZd	dd�Zd	dd�Zd	S(uCfgParserTestCaseClassu=u:u;u#cCsstd|d|jd|jd|jd|jd|jd|jd|jd	|jd
|j	�
}|j
|�}|S(Nudefaultsuallow_no_valueu
delimitersucomment_prefixesuinline_comment_prefixesuempty_lines_in_valuesu	dict_typeustrictudefault_sectionu
interpolation(udictuallow_no_valueu
delimitersucomment_prefixesuinline_comment_prefixesuempty_lines_in_valuesu	dict_typeustrictudefault_sectionu
interpolationuconfig_class(uselfudefaultsu	argumentsuinstance((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu	newconfig.s								u CfgParserTestCaseClass.newconfigcCs |j|�}|j|�|S(N(u	newconfiguread_string(uselfustringudefaultsucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
fromstring>s
u!CfgParserTestCaseClass.fromstringNF(u=u:(u;u#(u;u#T(u__name__u
__module__u__qualname__uFalseuallow_no_valueu
delimitersucomment_prefixesuinline_comment_prefixesuTrueuempty_lines_in_valuesuconfigparseru
_default_dictu	dict_typeustrictuDEFAULTSECTudefault_sectionu_UNSETu
interpolationuNoneu	newconfigu
fromstring(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuCfgParserTestCaseClass#s			uCfgParserTestCaseClasscBs|EeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)S(*u
BasicTestCasec	oCs�ddddddddd	g	}|jr:|jd
�n|j�d<d=g}|j�}|j�|j}|||�|jd�}|j�|||�dd�|D�}|j�|j|j�|j�|||�|dj�}tt|��}|||�|j�}tt|��}|jt	|�t	|��x$|D]\}}|||j
�qVW||j�||j�||jdd
�d�||jdd
�d�||jdd
�d�||jdd�d�||jdd
�d�||jdd�d�||jdd�d�||jdd�d�||j
d	d�d�||jd	d�d�|j|jd	d�d�||jd	d�d�||jd	d�d>�||jd	d�d �|jr||jd
d!�d�n||jdd
d"d�d�||jdd
d#idd
6�d�|jtj��|jd$d
�WdQX|jtj��|jdd%�WdQX||jd$d
d"d�d�||jdd%d"d�d�||jdd
d"d�d�||jd&d
d"d�d�||j
d	dd"d'�d�||j
d	d(d"d'�d'�||j
d	d(d"d)�d)�|jtj��|j
d	d(�WdQX|j|jd	dd"d*�d�|j|jd	d+d"d*�d*�||jd	d+d"d,�d,�|jtj��|jd	d+�WdQX||jd	dd"d?�d>�||jd	d-d"d.�d.�||jd	d-d"d?�d?�|jtj��|jd	d-�WdQX||jd/dd"d?�d?�|jr*||jd
d!d"d>�d�||jd
d0d"d>�d>�n||dd
d�||dd
d�|d}||j
d�|j|j|�|jt��d1|_
WdQX|jt��d2|_WdQX||d
d�||dd�||dd
d�||ddd�||ddd�||ddd�||dd
d3�|jrk||d
d!d�n||djd
d�d�||djd
d"d�d�||djd
d#idd
6�d�|jt��|d$d
WdQX|jt��|dd%WdQX|jt��|d$jd
d"d�WdQX||djd%d�d�||djd%d"d�d�||djd%�d�||djd
d�d�||djd
d"d�d�|jt��|d&jd
d�WdQX||d	j
dd'�d�||d	j
dd"d'�d�||d	j
d(d'�d'�||d	j
d(d"d'�d'�||d	j
d(d)�d)�||d	j
d(d"d)�d)�||d	j
d(�d�|j|d	jdd*�d�|j|d	jdd"d*�d�|j|d	jd+d*�d*�|j|d	jd+d"d*�d*�||d	jd+d,�d,�||d	jd+d"d,�d,�||d	jd+�d�||d	jdd?�d>�||d	jdd"d?�d>�||d	jd-d.�d.�||d	jd-d"d.�d.�||d	jd-d?�d?�||d	jd-d"d?�d?�||d	jd-�d�|jr||d
jd!d>�d�||d
jd!d"d>�d�||d
jd0d>�d>�||d
jd0d"d>�d>�nd4||jd5<d6||jd7<|j|jd��|j|jdd��|j|jd��|j|j|j��|j|j dd
�d8�|j|jdd
�d9�|j|j dd
�d:�|j|jdd5��|j|j dd5��|j|j |jd5��|j|jdd5��|j|j |jd5��|jtj��}|j d;d
�WdQX|j|j!j"d@�||jdd
�d3�|d	=|jd	|k�|jt��|d	=WdQX|jt#��||j=WdQX|dd
=|jd
|dk�|jt��|dd
=WdQX|jd7|dk�|jt��|dd7=WdQX||jd7=|jd7|dk�|jt��||jd7=WdQX|jt��|d;d
=WdQXdS(ANu
Commented BaruFoo BaruInternationalized Stuffu	Long LineuSection\with$weird%characters[	uSpacesu
Spacey BaruSpacey Bar From The BeginninguTypesuNoValueubazuqweufooubar3cSsg|]}|�qS(((u.0usection((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
<listcomp>`s	u,BasicTestCase.basic_test.<locals>.<listcomp>ubar1ubar2ubar4ukey with spacesuvalueuanother with spacesusplat!uinti*u42ufloatg)\��(�?u0.44ubooleanu123ustrange but acceptableuoption-without-valueufallbackuvarsuNo Such Foo Baruno-such-foouNo Such Spacey Bariuno-such-intu18gu
no-such-floatu0.0uno-such-booleanuyesu
No Such Typesuno-such-option-without-valueuName is read-onlyuParser is read-onlyu7this line is much, much longer than my editor
likes it.u1u
this_valueu2u
that_valueu4remove_option() failed to report existence of optionu'remove_option() failed to remove optionuIremove_option() failed to report non-existence of option that was removeduNo Such Section(ubazuqwe(ufooubar3FT(uNo Such Section($uallow_no_valueuappendusortusectionsuassertEqualuitemsudefault_sectionusortedulistulenunameudefaultsugetugetintuassertAlmostEqualugetfloatu
getbooleanuFalseuNoneuassertRaisesuconfigparseruNoSectionErroru
NoOptionErroruTrueuassertIsuparseruAttributeErroruKeyErroru
assertTrueuremove_sectionuassertFalseu
has_optionu
remove_optionu	exceptionuargsu
ValueError(	uselfucfuEuFuLuequnameusectionucm((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
basic_testEsz		

	






	&

	
	 '      
 
   	 
uBasicTestCase.basic_testcCsdj|j|j�}|jr.|d7}n|j|�}|j|�|jr�|jtj	��'|j
tjdj|j���WdQX|jtj
��'|j
tjdj|j���WdQXnD|j
tjdj|j���|j
tjdj|j���dS(NuI[Foo Bar]
foo{0[0]}bar1
[Spacey Bar]
foo {0[0]} bar2
[Spacey Bar From The Beginning]
  foo {0[0]} bar3
  baz {0[0]} qwe
[Commented Bar]
foo{0[1]} bar4 {1[1]} comment
baz{0[0]}qwe {1[0]}another one
[Long Line]
foo{0[1]} this line is much, much longer than my editor
   likes it.
[Section\with$weird%characters[	]
[Internationalized Stuff]
foo[bg]{0[1]} Bulgarian
foo{0[0]}Default
foo[en]{0[0]}English
foo[de]{0[0]}Deutsch
[Spaces]
key with spaces {0[1]} value
another with spaces {0[0]} splat!
[Types]
int {0[1]} 42
float {0[0]} 0.44
boolean {0[0]} NO
123 {0[1]} strange but acceptable
u[NoValue]
option-without-value
u�                    [Duplicate Options Here]
                    option {0[0]} with a value
                    option {0[1]} with another value
                u�                    [And Now For Something]
                    completely different {0[0]} True
                    [And Now For Something]
                    the larch {0[1]} 1
                u�                [Duplicate Options Here]
                option {0[0]} with a value
                option {0[1]} with another value
            u�                [And Now For Something]
                completely different {0[0]} True
                [And Now For Something]
                the larch {0[1]} 1
            (uformatu
delimitersucomment_prefixesuallow_no_valueu
fromstringu
basic_testustrictuassertRaisesuconfigparseruDuplicateOptionErroruread_stringutextwrapudedentuDuplicateSectionError(uselfu
config_stringucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_basic#s"	

	uBasicTestCase.test_basiccCs�i	idd6d6idd6d6idd6dd6d	6id
d6dd6d6idd6d
6id6idd6dd6dd6dd6d6idd6dd6d6idd6dd6d2d 6d!d"6d#6}|jr�|jiidd$6d%6�n|j�}|j|�|j|�|jr�|jt	j
��.|jiidd&6d'6id(d)6d*6�WdQX|jt	j��'|jiid+d,6d-d.6d/6�WdQXnK|jiidd&6d06id(d)6d16�|jiid+d,6d-d.6d/6�dS(3Nubar1ufoouFoo Barubar2u
Spacey Barubar3uqweubazuSpacey Bar From The Beginningubar4u
Commented Baru7this line is much, much longer than my editor
likes it.u	Long LineuSection\with$weird%characters[	u	Bulgarianufoo[bg]uDefaultuEnglishufoo[en]uDeutschufoo[de]uInternationalized Stuffuvalueukey with spacesusplat!uanother with spacesuSpacesi*uintg)\��(�?ufloatubooleanustrange but acceptablei{uTypesuoption-without-valueuNoValueukeyu1uvalue2ukey2iuwith a valueuoptionuwith another valueuOPTIONuDuplicate Options HereusectionuSECTIONF(uFalseuallow_no_valueuupdateuNoneu	newconfigu	read_dictu
basic_testustrictuassertRaisesuconfigparseruDuplicateSectionErroruDuplicateOptionError(uselfuconfigucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_basic_from_dictdsf		

					u"BasicTestCase.test_basic_from_dictcCs@|j�}|jd�|jd�|jd�|j�}|j�|j}||dddg�|jddd�||jd�dg�||jdd�dd�|jt	j
��|jddd�WdQX|j|jdd��|j
|jdd��|jddd�x*dD]"}|j|jd|�d�q(W||jd�d	g�||jd�dg�|jdd�||jd�g�|jd
j|jd��}||jd�dg�||jdd�d�|jdj|jd�didd6�}|j|jdd��dS(NuAuauBuvalueubu@could not locate option, expecting case-insensitive option namesuA-Bu	A-B valueua-buA-bua-Bu9has_option() returned false for option which should existu3[MySection]
Option{} first line   
	second line   
iu	MySectionuoptionuOptionufirst line
second lineu[section]
nekey{}nevalue
udefaultsukeyusectionuKey(ua-buA-bua-BuA-B(u	newconfiguadd_sectionusectionsusortuassertEqualusetuoptionsugetuassertRaisesuconfigparseruNoSectionErroru
assertTrueu
has_optionuassertFalseu
remove_optionu
fromstringuformatu
delimiters(uselfucfuLuequopt((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_case_sensitivity�sD



	
u#BasicTestCase.test_case_sensitivitycCs|j�}i|d<idd6|d<i|d<dd�|D�}|j�|j}|j}||tdd|jdg��||dj�dh�||dddd�|jt��d|dd<WdQX|j	d|dk�d	|dd
<x(dD] }|j	||dkd�qW||dj�dh�||dj�dh�|dd=||dj�i�|j
dj|jd��}||dj�dh�||ddd�|j
dj|jd�didd6�}|j	d|dk�dS(NuAuvalueuBuacSsg|]}|�qS(((u.0usection((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
<listcomp>�s	uFBasicTestCase.test_case_sensitivity_mapping_access.<locals>.<listcomp>ubu@could not locate option, expecting case-insensitive option namesu	A-B valueuA-Bua-buA-bua-Bu9has_option() returned false for option which should existu3[MySection]
Option{} first line   
	second line   
iu	MySectionuoptionuOptionufirst line
second lineu[section]
nekey{}nevalue
udefaultsukeyuKeyusection(ua-buA-bua-BuA-B(
u	newconfigusortuassertEqualuassertCountEqualusortedudefault_sectionukeysuassertRaisesuKeyErroru
assertTrueu
fromstringuformatu
delimiters(uselfucfuLuequelem_equopt((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu$test_case_sensitivity_mapping_access�sB


		"

u2BasicTestCase.test_case_sensitivity_mapping_accesscCst|jidd6�}|j|j|jd�dd�|jidd6�}|j|j|jd�dd�dS(NuBarufoouFoou@could not locate option, expecting case-insensitive option namesu<could not locate option, expecting case-insensitive defaults(u	newconfiguassertEqualugetudefault_section(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_default_case_sensitivity�su+BasicTestCase.test_default_case_sensitivitycCsP|j�}|j|tjdj|jd��|j|tjdj|jd��|j|tjd�}|j|jd�|j	sL|j|tjd�}|j|jd
�t
jd�}|jddkr�tj}|f}ntj}|dd	f}t|d
d��}|j|||�}WdQX|j|j|�ndS(Nu[Foo]
{}val-without-opt-name
iiuNo Section!
u<???>u[Foo]
  wrong-indent
ucfgparser.3u=u.  # INI with as many tricky parts as possible
uencodinguutf-8(u<???>iuNo Section!
(u<???>(
u	newconfiguparse_erroruconfigparseruParsingErroruformatu
delimitersuMissingSectionHeaderErroruassertEqualuargsuallow_no_valueusupportufindfileuopen(uselfucfueutrickyuerroruexpecteduf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_parse_errors	s0						uBasicTestCase.test_parse_errorsc	CsSt|d�r|}ntj|�}|j|��}|j|�WdQX|jS(Nureadline(uhasattruiouStringIOuassertRaisesu	read_fileu	exception(uselfucfuexcusrcusioucm((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuparse_error%s	uBasicTestCase.parse_errorcCs�|j�}|j|j�gd�|j|jd�d�|jtj��|jd�WdQX|jtj��|j	ddd�WdQX|j
|tjdd�}|j|jd�|jd�|j
|tj
dd�}|j|jd�dS(	Nu0new ConfigParser should have no defined sectionsuFoou5new ConfigParser should have no acknowledged sectionsufooubaruvalue(ufoo(ubarufoo(u	newconfiguassertEqualusectionsuassertFalseuhas_sectionuassertRaisesuconfigparseruNoSectionErroruoptionsusetu	get_erroruargsuadd_sectionu
NoOptionError(uselfucfue((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_query_errors.s
uBasicTestCase.test_query_errorscCsay|j||�Wn)|k
r?}z	|SWYdd}~XnX|jd|j|jf�dS(Nuexpected exception type %s.%s(ugetufailu
__module__u__name__(uselfucfuexcusectionuoptionue((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu	get_error?s	uBasicTestCase.get_errorcCs�|jdjd|jd��}xntdd�D]]}|j|jdd|��|j|jdd|��|jt|jdd	|�q2WdS(
Nu�[BOOLTEST]
T1{equals}1
T2{equals}TRUE
T3{equals}True
T4{equals}oN
T5{equals}yes
F1{equals}0
F2{equals}FALSE
F3{equals}False
F4{equals}oFF
F5{equals}nO
E1{equals}2
E2{equals}foo
E3{equals}-1
E4{equals}0.1
E5{equals}FALSE AND MOREuequalsiiiuBOOLTESTut%duf%due%d(	u
fromstringuformatu
delimitersurangeu
assertTrueu
getbooleanuassertFalseuassertRaisesu
ValueError(uselfucfux((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_booleanHs		uBasicTestCase.test_booleancCsn|j�}|jd�|jtj��}|jd�WdQX|j}|jt|�d�|j|jd�|j
rj|jtj��6}|jtj
djd|jd��dd�WdQX|j}|jt|�d�|j|jd�|jtj��)}|jiid
d6dd
6d6�WdQX|j}|jt|�d�|j|jd�ndS(NuFoouSection 'Foo' already existsu�                    [Foo]
                    will this be added{equals}True
                    [Bar]
                    what about this{equals}True
                    [Foo]
                    oops{equals}this won't
                uequalsiusourceu	<foo-bar>uFWhile reading from '<foo-bar>' [line  5]: section 'Foo' already existsiuvaluoptuis really `opt`uOPTuBaruIWhile reading from '<dict>': option 'opt' in section 'Bar' already existsu<dict>(uFooNN(uFoou	<foo-bar>i(uBaruoptu<dict>N(u	newconfiguadd_sectionuassertRaisesuconfigparseruDuplicateSectionErroru	exceptionuassertEqualustruargsuNoneustricturead_stringutextwrapudedentuformatu
delimitersuDuplicateOptionErroru	read_dict(uselfucfucmue((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_weird_errorsas&
		)	(	uBasicTestCase.test_weird_errorscCs�dj|jd|jdd|j�}|jr>|d7}n|j|�}x�d
D]�}tj	�}|j
|d|�|jd}|r�dj|�}ndjd	|d|j�}|jr�|d
7}n|j|j�|�qTWdS(Nu8[Long Line]
foo{0[0]} this line is much, much longer than my editor
   likes it.
[{default_section}]
foo{0[1]} another very
 long line
[Long Line - With Comments!]
test {0[1]} we        {comment} can
            also      {comment} place
            comments  {comment} in
            multiline {comment} values
ucommentiudefault_sectionu![Valueless]
option-without-value
uspace_around_delimitersu {} u�[{default_section}]
foo{equals}another very
	long line

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

[Long Line - With Comments!]
test{equals}we
	also
	comments
	multiline

uequalsu"[Valueless]
option-without-value

TF(TF(
uformatu
delimitersucomment_prefixesudefault_sectionuallow_no_valueu
fromstringuTrueuFalseuiouStringIOuwriteuassertEqualugetvalue(uselfu
config_stringucfuspace_around_delimitersuoutputu	delimiteru
expect_string((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_write�s(	


	
	
uBasicTestCase.test_writecCs�|jdjd|jd��}Gdd�dt�}|jddd�|jdd|d��|jdd	d�|jdd	|d��|jddd�|jdd	d�dS(
Nu[sect]
option1{eq}foo
ueqicBs|EeZdZdS(u2BasicTestCase.test_set_string_types.<locals>.mystrN(u__name__u
__module__u__qualname__(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyumystr�sumystrusectuoption1usplatuoption2(u
fromstringuformatu
delimitersustruset(uselfucfumystr((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_set_string_types�su#BasicTestCase.test_set_string_typescCs)|jddkr#|jd�ntjd�}|j�}|j|dg�}|j||g�|j|jdd�d�|j�}|j|�}|j||g�|j|jdd�d�|j�}|jdg�}|j|g�|j�}|jg�}|j|g�dS(	Niu=uincompatible formatucfgparser.1unonexistent-fileuFoo Barufoounewbar(u
delimitersuskipTestusupportufindfileu	newconfigureaduassertEqualuget(uselfufile1ucfuparsed_files((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_read_returns_file_list�s"u)BasicTestCase.test_read_returns_file_listcCs |jdjd|jd��S(Nuh[Foo]
bar{equals}something %(with1)s interpolation (1 step)
bar9{equals}something %(with9)s lots of interpolation (9 steps)
bar10{equals}something %(with10)s lots of interpolation (10 steps)
bar11{equals}something %(with11)s lots of interpolation (11 steps)
with11{equals}%(with10)s
with10{equals}%(with9)s
with9{equals}%(with8)s
with8{equals}%(With7)s
with7{equals}%(WITH6)s
with6{equals}%(with5)s
With5{equals}%(with4)s
WITH4{equals}%(with3)s
with3{equals}%(with2)s
with2{equals}%(with1)s
with1{equals}with

[Mutual Recursion]
foo{equals}%(bar)s
bar{equals}%(foo)s

[Interpolation Error]
name{equals}%(reference)s
uequalsi(u
fromstringuformatu
delimiters(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuget_interpolation_config�s	u&BasicTestCase.get_interpolation_configc	Cs�|jdj|j�didd6�}t|jddidd6��}|j�|j||�|jtj	��|jd�WdQXdS(	Nu�
            [section]
            name {0[0]} %(value)s
            key{0[1]} |%(name)s|
            getdefault{0[1]} |%(default)s|
        udefaultsu	<default>udefaultusectionuvarsuvalueuno such section(
u
fromstringuformatu
delimitersulistuitemsusortuassertEqualuassertRaisesuconfigparseruNoSectionError(uselfuexpecteducfuL((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyucheck_items_config�s""
u BasicTestCase.check_items_configcCs�|jdj|j�didd6�}|j|j�dd�|j|j�dd�|j|j�dd�|jt��|j�WdQXdS(	Nu�
            [section1]
            name1 {0[0]} value1
            [section2]
            name2 {0[0]} value2
            [section3]
            name3 {0[0]} value3
        udefaultsu	<default>udefaultiusection1usection2usection3(u
fromstringuformatu
delimitersuassertEqualupopitemuassertRaisesuKeyError(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_popitems"uBasicTestCase.test_popitemcCs�|jidd6�}|j|j|jd�dd�idd6dd6|d	<|j|j�d	g�|jt|d	j��dddh�|j�|jt|j��t��|jt||jj��dh�dS(
NuBarufoouFoou@could not locate option, expecting case-insensitive option namesuvalue1uoption1uvalue2uoption2uzing(u	newconfiguassertEqualugetudefault_sectionusectionsusetukeysuclear(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_clears)
uBasicTestCase.test_clearcCs�|jdj|j�didd6�}|jt|dj��ddh�|jt|dj��d	dh�|jt|d
j��ddh�|j|ddd�|j|dd	d
�|j|d
dd�|j|j�ddd
g�idd6|d<|jt|dj��ddh�|j|ddd�|jd	|d�|j|j�ddd
g�i|d
<|jt|d
j��dh�|jd|d
�|j|j�ddd
g�i||j<|jt||jj��t��|jt|dj��dh�|jt|dj��dh�|jt|d
j��t��|j|j�ddd
g�dS(Nu�
            [section1]
            name1 {0[0]} value1
            [section2]
            name2 {0[0]} value2
            [section3]
            name3 {0[0]} value3
        udefaultsuvalueDunameDusection1uname1unamedusection2uname2usection3uname3uvalue1uvalue2uvalue3uvalue22uname22(	u
fromstringuformatu
delimitersuassertEqualusetukeysusectionsuassertNotInudefault_section(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_setitems0"&&&&
#
&###uBasicTestCase.test_setitemN(u__name__u
__module__u__qualname__u
basic_testu
test_basicutest_basic_from_dictutest_case_sensitivityu$test_case_sensitivity_mapping_accessutest_default_case_sensitivityutest_parse_errorsuparse_errorutest_query_errorsu	get_errorutest_booleanutest_weird_errorsu
test_writeutest_set_string_typesutest_read_returns_file_listuget_interpolation_configucheck_items_configutest_popitemu
test_clearutest_setitem(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
BasicTestCaseCs(�AI*(
		6
u
BasicTestCasecBs#|EeZdZejZdZdS(uStrictTestCaseNT(u__name__u
__module__u__qualname__uconfigparseruRawConfigParseruconfig_classuTrueustrict(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuStrictTestCase@s	uStrictTestCasecBsq|EeZdZejZdd�Zdd�Zdd�Zdd�Z	d	d
�Z
dd�Zd
d�ZdS(uConfigParserTestCasecCs�|j�}|j}||jdd�d�||jdd�d�||jdd�d�|j|tjdd�}|jtjkr�|j|jd�n+t	|jtj
�r�|j|jd�ndS(
NuFooubaru%something with interpolation (1 step)ubar9u.something with lots of interpolation (9 steps)ubar10u/something with lots of interpolation (10 steps)ubar11u	%(with1)su5something %(with11)s lots of interpolation (11 steps)(ubar11uFoou	%(with1)s(ubar11uFoou5something %(with11)s lots of interpolation (11 steps)(uget_interpolation_configuassertEqualugetu	get_erroruconfigparseruInterpolationDepthErroru
interpolationu_UNSETuargsu
isinstanceuLegacyInterpolation(uselfucfueque((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolationHs	u'ConfigParserTestCase.test_interpolationcCs�|j�}|j|tjdd�}|j|jd�|j|jd�|j|jd�|jtj	kr�|j|j
d�n+t|jtj�r�|j|j
d�ndS(NuInterpolation Errorunameu	referenceuu
%(reference)s(unameuInterpolation Erroruu	reference(unameuInterpolation Erroru
%(reference)su	reference(
uget_interpolation_configu	get_erroruconfigparseruInterpolationMissingOptionErroruassertEqualu	referenceusectionuoptionu
interpolationu_UNSETuargsu
isinstanceuLegacyInterpolation(uselfucfue((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu test_interpolation_missing_valueWs
u5ConfigParserTestCase.test_interpolation_missing_valuecCs |jd	d
ddd
g�dS(Nudefaultu	<default>u
getdefaultu|<default>|ukeyu|value|unameuvalue(udefaultu	<default>(u
getdefaultu|<default>|(ukeyu|value|(unameuvalue(uvalueuvalue(ucheck_items_config(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_itemses
	uConfigParserTestCase.test_itemsc
Cs�|jdjd|jd��}|j|jdd�d�|jtjkro|j|jdd�d�n>t|jtj	�r�|j
t��|jdd�WdQXndS(	Nuc[section]
option1{eq}xxx
option2{eq}%(option1)s/xxx
ok{eq}%(option1)s/%%s
not_ok{eq}%(option2)s/%%sueqiusectionuokuxxx/%sunot_oku
xxx/xxx/%s(u
fromstringuformatu
delimitersuassertEqualugetu
interpolationuconfigparseru_UNSETu
isinstanceuLegacyInterpolationuassertRaisesu	TypeError(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_safe_interpolationlsu,ConfigParserTestCase.test_safe_interpolationcCs�|jdjd|jd��}|j|jdd�d�|jt|jddd�|jt|jddd�|jt|jddd	�|j|jdd�d�|jdd
d�|j|jdd
�d�dS(
Nu[sect]
option1{eq}foo
ueqiusectuoption1ufoou%fooufoo%uf%oouoption2ufoo%%barufoo%bar(u
fromstringuformatu
delimitersuassertEqualugetuassertRaisesu
ValueErroruset(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu#test_set_malformatted_interpolation{su8ConfigParserTestCase.test_set_malformatted_interpolationcCs|jdjd|jd��}|jt|jddd�|jt|jddd�|jt|jddt��|jt|jddd�|jt|jddd�|jt|jddt��|jt|jdd	d
�|jt|jd	�dS(Nu[sect]
option1{eq}foo
ueqiusectuoption1ig�?uoption2i{uinvalid opt name!(u
fromstringuformatu
delimitersuassertRaisesu	TypeErrorusetuobjectuadd_section(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_set_nonstring_types�su-ConfigParserTestCase.test_set_nonstring_typescCs)|j�}|jt|j|j�dS(N(u	newconfiguassertRaisesu
ValueErroruadd_sectionudefault_section(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_add_section_default�su-ConfigParserTestCase.test_add_section_defaultN(
u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classutest_interpolationu test_interpolation_missing_valueu
test_itemsutest_safe_interpolationu#test_set_malformatted_interpolationutest_set_nonstring_typesutest_add_section_default(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuConfigParserTestCaseEs	uConfigParserTestCasecBsh|EeZdZejZd
Zej	d�j
�Zdd�Zdd�Z
dd�Zdd	�Zd
S(u#ConfigParserTestCaseNoInterpolationu�
        [numbers]
        one = 1
        two = %(one)s * 2
        three = ${common:one} * 3

        [hexen]
        sixteen = ${numbers:two} * 8
    cCsd|j|ddd�|j|ddd�|j|ddd�|j|dd	d
�dS(Nunumbersuoneu1utwou%(one)s * 2uthreeu${common:one} * 3uhexenusixteenu${numbers:two} * 8(uassertEqual(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuassertMatchesIni�su4ConfigParserTestCaseNoInterpolation.assertMatchesInicCs#|j|j�}|j|�dS(N(u
fromstringuiniuassertMatchesIni(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_no_interpolation�su9ConfigParserTestCaseNoInterpolation.test_no_interpolationcCs&|j�}|j|jd��dS(Nu(u	newconfiguassertIsNoneuread_string(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_empty_case�su3ConfigParserTestCaseNoInterpolation.test_empty_casecCsCGdd�dtj�}|�}|j|j�|j|�dS(NcBs|EeZdZdZdS(ubConfigParserTestCaseNoInterpolation.test_none_as_default_interpolation.<locals>.CustomConfigParserN(u__name__u
__module__u__qualname__uNoneu_DEFAULT_INTERPOLATION(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuCustomConfigParser�suCustomConfigParser(uconfigparseruConfigParseruread_stringuiniuassertMatchesIni(uselfuCustomConfigParserucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu"test_none_as_default_interpolation�s	uFConfigParserTestCaseNoInterpolation.test_none_as_default_interpolationN(u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classuNoneu
interpolationutextwrapudedentustripuiniuassertMatchesIniutest_no_interpolationutest_empty_caseu"test_none_as_default_interpolation(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu#ConfigParserTestCaseNoInterpolation�s	u#ConfigParserTestCaseNoInterpolationcBs5|EeZdZejZej�Zdd�ZdS(u'ConfigParserTestCaseLegacyInterpolationcCs�|jdjd|jd��}|j|jdd�d�|jddd�|j|jdd�d�|jddd�|j|jdd�d�|jddd	�|j|jdd�d	�|jdd
d�|j|jdd
�d�dS(Nu[sect]
option1{eq}foo
ueqiusectuoption1ufoou%fooufoo%uf%oouoption2ufoo%%bar(u
fromstringuformatu
delimitersuassertEqualugetuset(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu#test_set_malformatted_interpolation�suKConfigParserTestCaseLegacyInterpolation.test_set_malformatted_interpolationN(	u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classuLegacyInterpolationu
interpolationu#test_set_malformatted_interpolation(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu'ConfigParserTestCaseLegacyInterpolation�s	u'ConfigParserTestCaseLegacyInterpolationcBs&|EeZdZdZdZdZdS(	u)ConfigParserTestCaseNonStandardDelimitersu:=u$u//u"N(u:=u$(u//u"(u//u"(u__name__u
__module__u__qualname__u
delimitersucomment_prefixesuinline_comment_prefixes(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu)ConfigParserTestCaseNonStandardDelimiters�su)ConfigParserTestCaseNonStandardDelimiterscBs|EeZdZdZdS(u-ConfigParserTestCaseNonStandardDefaultSectionugeneralN(u__name__u
__module__u__qualname__udefault_section(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu-ConfigParserTestCaseNonStandardDefaultSection�su-ConfigParserTestCaseNonStandardDefaultSectioncBsS|EeZdZejZdjdd�Zdd�Zdd�Z	dd	�Z
d
S(uMultilineValuesTestCaseuSI'm having spam spam spam spam spam spam spam beaked beans spam spam spam and spam!u u	
c	Cs�|j�}xftd�D]X}dj|�}|j|�x3td�D]%}|j|dj|�|j�qHWqWttjd��}|j	|�WdQXdS(Nidu	section{}i
u
lovely_spam{}uw(
u	newconfigurangeuformatuadd_sectionusetuwonderful_spamuopenusupportuTESTFNuwrite(uselfucfuiusujuf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyusetUp�s
'uMultilineValuesTestCase.setUpcCstjtj�dS(N(uosuunlinkusupportuTESTFN(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutearDown�su MultilineValuesTestCase.tearDowncCs`|j�}ttj��}|j|�WdQX|j|jdd�|jjdd��dS(Nusection8ulovely_spam4u	
u
(	u	newconfiguopenusupportuTESTFNu	read_fileuassertEqualugetuwonderful_spamureplace(uselfucf_from_fileuf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu test_dominating_multiline_values�s
u8MultilineValuesTestCase.test_dominating_multiline_valuesN(u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classureplaceuwonderful_spamusetUputearDownu test_dominating_multiline_values(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuMultilineValuesTestCase�s	
uMultilineValuesTestCasecBsA|EeZdZejZdd�Zdd�Zdd�ZdS(uRawConfigParserTestCasecCs}|j�}|j}||jdd�d�||jdd�d�||jdd�d�||jdd�d	�dS(
NuFooubaru*something %(with1)s interpolation (1 step)ubar9u3something %(with9)s lots of interpolation (9 steps)ubar10u5something %(with10)s lots of interpolation (10 steps)ubar11u5something %(with11)s lots of interpolation (11 steps)(uget_interpolation_configuassertEqualuget(uselfucfueq((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolation�s	u*RawConfigParserTestCase.test_interpolationcCs |jd
ddd
dg�dS(Nudefaultu	<default>u
getdefaultu
|%(default)s|ukeyu
|%(name)s|unameu	%(value)suvalue(udefaultu	<default>(u
getdefaultu
|%(default)s|(ukeyu
|%(name)s|(unameu	%(value)s(uvalueuvalue(ucheck_items_config(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_items
s
	u"RawConfigParserTestCase.test_itemscCsw|j�}|jd�|jddd�|jddddddddd	d
g�|jddidd
6�|j|jdd�d�|j|jdd�ddddddd	d
g�|j|jdd�idd
6�|jd�|jddd�|j|jdd�d�|jtjkrsdd�|_	|jddd�|j|jdd�d�ndS(Nu
non-stringuintiulistiiiiii
udictgn��!	@upii{uthis is sickcSs|S(N((ux((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu<lambda>!suBRawConfigParserTestCase.test_set_nonstring_types.<locals>.<lambda>T(
u	newconfiguadd_sectionusetuassertEqualugetuTrueu_dictuconfigparseru
_default_dictuoptionxform(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_set_nonstring_typess 
+#
u0RawConfigParserTestCase.test_set_nonstring_typesN(	u__name__u
__module__u__qualname__uconfigparseruRawConfigParseruconfig_classutest_interpolationu
test_itemsutest_set_nonstring_types(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuRawConfigParserTestCase�s	uRawConfigParserTestCasecBs&|EeZdZdZdZdZdS(	u,RawConfigParserTestCaseNonStandardDelimitersu:=u$u//u"N(u:=u$(u//u"(u//u"(u__name__u
__module__u__qualname__u
delimitersucomment_prefixesuinline_comment_prefixes(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu,RawConfigParserTestCaseNonStandardDelimiters%su,RawConfigParserTestCaseNonStandardDelimiterscBs;|EeZdZejZdZd	Zd
Z	dd�Z
dS(uRawConfigParserTestSambaConfu#u;u----u//cCs�tjd�}|j�}|j|dgdd�}|j||g�ddddd	d
dg}|j|j�|�|j|jdd�d
�|j|jdd�d�|j|jdd�d�|j|jd
d�d�dS(Nucfgparser.2unonexistent-fileuencodinguutf-8uglobaluhomesuprintersuprint$u
pdf-generatorutmpuAgustinu	workgroupuMDKGROUPumax log sizei2uhosts allowu127.uecho commandu
cat %s; rm %s(usupportufindfileu	newconfigureaduassertEqualusectionsugetugetint(uselfusmbconfucfuparsed_filesusections((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_reading0s	u)RawConfigParserTestSambaConf.test_readingN(u#u;u----(u//F(u__name__u
__module__u__qualname__uconfigparseruRawConfigParseruconfig_classucomment_prefixesuinline_comment_prefixesuFalseuempty_lines_in_valuesutest_reading(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuRawConfigParserTestSambaConf*s
	uRawConfigParserTestSambaConfcBs�|EeZdZejZej�ZdZdZ
dddd�Zdd�Z
dd�Zdd	�Zd
d�Zdd
�Zdd�ZdS(u)ConfigParserTestCaseExtendedInterpolationucommoncCs2|j|�}|r!||_n|j|�|S(N(u	newconfiguoptionxformuread_string(uselfustringudefaultsuoptionxformucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
fromstringDs

u4ConfigParserTestCaseExtendedInterpolation.fromstringcCs�|jtjd�j��}|j}||ddd�||ddd�||ddd�||ddd�||ddd	�||dd
d�||ddd
�||ddd�||ddd�||ddd�||ddd�||ddd�||ddd�||ddd�||ddd�||dd
d�||ddd�dS(Nu
            [common]
            favourite Beatle = Paul
            favourite color = green

            [tom]
            favourite band = ${favourite color} day
            favourite pope = John ${favourite Beatle} II
            sequel = ${favourite pope}I

            [ambv]
            favourite Beatle = George
            son of Edward VII = ${favourite Beatle} V
            son of George V = ${son of Edward VII}I

            [stanley]
            favourite Beatle = ${ambv:favourite Beatle}
            favourite pope = ${tom:favourite pope}
            favourite color = black
            favourite state of mind = paranoid
            favourite movie = soylent ${common:favourite color}
            favourite song = ${favourite color} sabbath - ${favourite state of mind}
        ucommonufavourite BeatleuPaulufavourite colorugreenutomufavourite bandu	green dayufavourite popeuJohn Paul IIusequelu
John Paul IIIuambvuGeorgeuson of Edward VIIuGeorge Vuson of George Vu	George VIustanleyublackufavourite state of minduparanoidufavourite movieu
soylent greenufavourite songublack sabbath - paranoid(u
fromstringutextwrapudedentustripuassertEqual(uselfucfueq((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_extended_interpolationKs*	uEConfigParserTestCaseExtendedInterpolation.test_extended_interpolationcCsl|jtjd�j��}|jtj��|ddWdQX|jtj��|ddWdQXdS(Nu�
            [one for you]
            ping = ${one for me:pong}

            [one for me]
            pong = ${one for you:ping}

            [selfish]
            me = ${me}
        uone for youupinguselfishume(u
fromstringutextwrapudedentustripuassertRaisesuconfigparseruInterpolationDepthError(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_endless_loopxs	u;ConfigParserTestCaseExtendedInterpolation.test_endless_loopc	Cs�|jd�}|j|ddd�|j|ddd�|j|ddd�tj}|j|��}|dd	WdQX|j|jjd
�|j|jjdd�dS(
Nu�
            [dollars]
            $var = $$value
            $var2 = ${$var}
            ${sick} = cannot interpolate me

            [interpolated]
            $other = ${dollars:$var}
            $trying = ${dollars:${sick}}
        udollarsu$varu$valueuinterpolatedu$otheru${sick}ucannot interpolate meu$tryingudollars:${sickiu}(u
fromstringuassertEqualuconfigparseruInterpolationMissingOptionErroruassertRaisesu	exceptionu	referenceuargs(uselfucfuexception_classucm((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_strange_options�s			u>ConfigParserTestCaseExtendedInterpolation.test_strange_optionscCs�tjd�j�}|j|�}|j}||ddd�||ddd�||ddd�||ddd	�||d
dd�||d
d
d�dS(Nuj
            [common]
            optionlower = value
            OptionUpper = Value

            [Common]
            optionlower = a better ${common:optionlower}
            OptionUpper = A Better ${common:OptionUpper}

            [random]
            foolower = ${common:optionlower} redefined
            FooUpper = ${Common:OptionUpper} Redefined
        ucommonuoptionloweruvalueuOptionUpperuValueuCommonua better valueuA Better Valueurandomufooloweruvalue redefineduFooUpperuA Better Value Redefined(utextwrapudedentustripu
fromstringuassertEqual(uselfuiniucfueq((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_case_sensitivity_basic�s	uEConfigParserTestCaseExtendedInterpolation.test_case_sensitivity_basiccCs�tjd�j�}|jtj��|j|�}WdQX|j|ddd��}|j}||ddd�||ddd	�||d
dd�||d
dd�||d
dd�||d
dd�dS(Nu8
            [common]
            option = value
            Option = Value

            [Common]
            option = a better ${common:option}
            Option = A Better ${common:Option}

            [random]
            foo = ${common:option} redefined
            Foo = ${Common:Option} Redefined
        uoptionxformcSs|S(N((uopt((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu<lambda>�su[ConfigParserTestCaseExtendedInterpolation.test_case_sensitivity_conflicts.<locals>.<lambda>ucommonuoptionuvalueuOptionuValueuCommonua better valueuA Better Valueurandomufoouvalue redefineduFoouA Better Value Redefined(utextwrapudedentustripuassertRaisesuconfigparseruDuplicateOptionErroru
fromstringuassertEqual(uselfuiniucfueq((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_case_sensitivity_conflicts�s	uIConfigParserTestCaseExtendedInterpolation.test_case_sensitivity_conflictsc(Cs�|jd�}|jtj��|ddWdQX|jtj��|ddWdQX|jtj��|ddWdQX|jtj��|ddWdQX|jtj��|ddWdQX|jt��d|dd	<WdQXdS(
Nu
            [interpolation fail]
            case1 = ${where's the brace
            case2 = ${does_not_exist}
            case3 = ${wrong_section:wrong_value}
            case4 = ${i:like:colon:characters}
            case5 = $100 for Fail No 5!
        uinterpolation failucase1ucase2ucase3ucase4ucase5u
BLACK $ABBATHucase6(u
fromstringuassertRaisesuconfigparseruInterpolationSyntaxErroruInterpolationMissingOptionErroru
ValueError(uselfucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_other_errors�s	u;ConfigParserTestCaseExtendedInterpolation.test_other_errorsNT(u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classuExtendedInterpolationu
interpolationudefault_sectionuTrueustrictuNoneu
fromstringutest_extended_interpolationutest_endless_looputest_strange_optionsutest_case_sensitivity_basicutest_case_sensitivity_conflictsutest_other_errors(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu)ConfigParserTestCaseExtendedInterpolation>s	-u)ConfigParserTestCaseExtendedInterpolationcBs|EeZdZdZdS(uConfigParserTestCaseNoValueNT(u__name__u
__module__u__qualname__uTrueuallow_no_value(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuConfigParserTestCaseNoValue�suConfigParserTestCaseNoValuecBsM|EeZdZejZdhZdhZdZ	dd�Z
dd�ZdS(	uConfigParserTestCaseTrickyFileu=u#cCs
tjd�}|j�}|jt|j|dd��d�|j|j�ddddd	d
dg�|j|j|jdd
idd6�d�|j	t
��+|j|jdddd
idd6�WdQX|jt|jdd�j
d��d�|jt|jdd�j
d��d�d}|j|j|d��|j|j|d�d�|jt|jd��d�|j	tj��|jd	�WdQX|j|jd
d�d�|j|jd
d�|jd
d��|j|jdd�d�dS(Nucfgparser.3uencodinguutf-8iustrangeu
corruptionu&yeah, sections can be indented as welluanother one!uno values hereutricky interpolationumore interpolationugouvarsu-1uinterpolateurawuotheru
iuvaluei
uare they subsectionsulets use some Unicodeu	片仮名iuletsudo thisugo shoppingi����T(usupportufindfileu	newconfiguassertEqualulenureadusectionsugetintudefault_sectionuassertRaisesu
ValueErroruTrueugetusplituassertFalseu
getbooleanuitemsuconfigparseruInterpolationMissingOptionError(uselfutrickyucfulongname((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_cfgparser_dot_3�s6%
++u3ConfigParserTestCaseTrickyFile.test_cfgparser_dot_3cCsHtjd�}|j�}|jt��|j|dd�WdQXdS(Nucfgparser.3uencodinguascii(usupportufindfileu	newconfiguassertRaisesuUnicodeDecodeErroruread(uselfutrickyucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_unicode_failuresu3ConfigParserTestCaseTrickyFile.test_unicode_failureNT(u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classu
delimitersucomment_prefixesuTrueuallow_no_valueutest_cfgparser_dot_3utest_unicode_failure(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuConfigParserTestCaseTrickyFile�s			 uConfigParserTestCaseTrickyFilecBsD|EeZdZdZdZdd�Zdd�Zdd�Zd	S(
uIssue7005TestCaseurTest output when None is set() as a value and allow_no_value == False.

    http://bugs.python.org/issue7005

    u[section]
option = None

cCsR|dd�}|jd�|jddd�tj�}|j|�|j�S(Nuallow_no_valueusectionuoptionF(uFalseuadd_sectionusetuNoneuiouStringIOuwriteugetvalue(uselfuconfig_classucpusio((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuprepare"s

uIssue7005TestCase.preparecCsLtjdd�}|jd�|jt��|jddd�WdQXdS(Nuallow_no_valueusectionuoptionF(uconfigparseruConfigParseruFalseuadd_sectionuassertRaisesu	TypeErrorusetuNone(uselfucp((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_none_as_value_stringified+s
u0Issue7005TestCase.test_none_as_value_stringifiedcCs)|jtj�}|j||j�dS(N(uprepareuconfigparseruRawConfigParseruassertEqualuexpected_output(uselfuoutput((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu"test_none_as_value_stringified_raw1su4Issue7005TestCase.test_none_as_value_stringified_rawN(u__name__u
__module__u__qualname__u__doc__uexpected_outputuprepareutest_none_as_value_stringifiedu"test_none_as_value_stringified_raw(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuIssue7005TestCases
	uIssue7005TestCasecBs&|EeZdZeZdd�ZdS(uSortedTestCasecCsB|jd�}tj�}|j|�|j|j�d�dS(Nu [b]
o4=1
o3=2
o2=3
o1=4
[a]
k=v
u,[a]
k = v

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

(u
fromstringuiouStringIOuwriteuassertEqualugetvalue(uselfucfuoutput((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_sorted9s

uSortedTestCase.test_sortedN(u__name__u
__module__u__qualname__u
SortedDictu	dict_typeutest_sorted(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuSortedTestCase6suSortedTestCasecBs5|EeZdZejZdZdZdd�ZdS(uCompatibleTestCaseu#;u;cCsvtjd�}|j|�}|j|jdd�d�|j|jdd�d�|j|jdd�d�dS(	Nu�        [Commented Bar]
        baz=qwe ; a comment
        foo: bar # not a comment!
        # but this is a comment
        ; another comment
        quirk: this;is not a comment
        ; a space must precede an inline comment
        u
Commented Barufooubar # not a comment!ubazuqweuquirkuthis;is not a comment(utextwrapudedentu
fromstringuassertEqualuget(uselfu
config_stringucf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_comment_handlingRs	u(CompatibleTestCase.test_comment_handlingN(	u__name__u
__module__u__qualname__uconfigparseruRawConfigParseruconfig_classucomment_prefixesuinline_comment_prefixesutest_comment_handling(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuCompatibleTestCaseMs	uCompatibleTestCasecBs,|EeZdZejZddd�ZdS(uCopyTestCasecCs�|j|�}|j|�|j�}|j|�xj|j�D]\}|j|jkr`qBnx;||jj�D]&\}}|||krt||=qtqtWqBW|S(N(u	newconfiguread_stringu	read_dictuvaluesunameudefault_sectionuitems(uselfustringudefaultsucfucf_copyusectionudefaultuvalue((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
fromstringfs

 uCopyTestCase.fromstringN(u__name__u
__module__u__qualname__uconfigparseruConfigParseruconfig_classuNoneu
fromstring(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuCopyTestCasecs	uCopyTestCasecBs,|EeZdZdd�Zdd�ZdS(uFakeFilec	CsDtjd�}t|��#}|j�|_|jj�WdQXdS(Nucfgparser.1(usupportufindfileuopenu	readlinesulinesureverse(uselfu	file_pathuf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu__init__wsuFakeFile.__init__cCs t|j�r|jj�SdS(Nu(ulenulinesupop(uself((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyureadline}s
uFakeFile.readlineN(u__name__u
__module__u__qualname__u__init__ureadline(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuFakeFilevsuFakeFileccs.|j�}x|r)|V|j�}qWdS(u+As advised in Doc/library/configparser.rst.N(ureadline(ufuline((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyureadline_generator�s	ureadline_generatorcBsD|EeZdZdd�Zdd�Zdd�Zdd�Zd	S(
uReadFileTestCasecCs�tjd�g}y|j|djd��Wntk
rDYnXxx|D]p}tj�}t|��}|j|�WdQX|j	d|�|j	d|d�|j
|ddd�qLWdS(Nucfgparser.1iuutf8uFoo Barufoounewbar(usupportufindfileuappenduencodeuUnicodeEncodeErroruconfigparseruConfigParseruopenu	read_fileuassertInuassertEqual(uselfu
file_pathsu	file_pathuparseruf((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu	test_file�s

uReadFileTestCase.test_filecCswtjd�j�jd�}tj�}|j|�|jd|�|jd|d�|j|ddd�dS(Nu%
        [Foo Bar]
        foo=newbaru
uFoo Barufoounewbar(	utextwrapudedentustripusplituconfigparseruConfigParseru	read_fileuassertInuassertEqual(uselfulinesuparser((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_iterable�s
uReadFileTestCase.test_iterablec
Cs�tj�}|jt��|jt��WdQX|jtt���|jd|�|jd|d�|j|ddd�dS(u
Issue #11670.NuFoo Barufoounewbar(	uconfigparseruConfigParseruassertRaisesu	TypeErroru	read_fileuFakeFileureadline_generatoruassertInuassertEqual(uselfuparser((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_readline_generator�su(ReadFileTestCase.test_readline_generatorcCs�tjd�j�jd�}tj�}|jtj��}|j|dd�WdQX|j	t
|j�d�tjd�j�jd�}tj�}|jtj��}|j|dd�WdQX|j	t
|j�d�tjd	�j�jd�}tj�}|jtj
��}|j|dd�WdQX|j	t
|j�d
�tjd�j�jd�}tj�}|jtj��}|j|dd�WdQX|j	t
|j�d�dS(
u
Issue #18260.u"
        [badbad]
        [badbad]u
usourcesbadbadNuGWhile reading from b'badbad' [line  2]: section 'badbad' already existsu5
        [badbad]
        bad = bad
        bad = baduWWhile reading from b'badbad' [line  3]: option 'bad' in section 'badbad' already existsu
        [badbad]
        = badu=Source contains parsing errors: b'badbad'
	[line  2]: '= bad'u"
        [badbad
        bad = baduDFile contains no section headers.
file: b'badbad', line: 1
'[badbad'(utextwrapudedentustripusplituconfigparseruConfigParseruassertRaisesuDuplicateSectionErroru	read_fileuassertEqualustru	exceptionuDuplicateOptionErroruParsingErroruMissingSectionHeaderError(uselfulinesuparserudse((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_source_as_bytes�s@u%ReadFileTestCase.test_source_as_bytesN(u__name__u
__module__u__qualname__u	test_fileu
test_iterableutest_readline_generatorutest_source_as_bytes(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuReadFileTestCase�s

uReadFileTestCasecBsn|EeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS(uCoverageOneHundredTestCaseu"Covers edge cases in the codebase.cCs�tjdd�}|j|jd�|j|jd�|j|jd�|j|jd�|j|jd�|jt	|�d�dS(Nusectionuoptionu3Option 'option' in section 'section' already exists(usectionuoptionNN(
uconfigparseruDuplicateOptionErroruassertEqualusectionuoptionusourceuNoneulinenouargsustr(uselfuerror((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_duplicate_option_error�su6CoverageOneHundredTestCase.test_duplicate_option_errorcCsRtjddd�}|j|jd�|j|jd�|j|jd�dS(Nuoptionusectionurawval(uoptionusectionurawval(uconfigparseruInterpolationDepthErroruassertEqualuargsuoptionusection(uselfuerror((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolation_depth_error�s
	u9CoverageOneHundredTestCase.test_interpolation_depth_errorcCs,|jt��}tj�WdQX|jt|j�d�|jt��}tjdddd�WdQX|jt|j�d�tjdd�}|j|jd�tj	dd��F}tjdt�|j|j
d�d|_
|j|jd�WdQXx$|D]}|j|jtk�qWdS(Nu%Required argument `source' not given.usourceufilenameu:Cannot specify both `filename' and `source'. Use `source'.urecordualwaysT(uassertRaisesu
ValueErroruconfigparseruParsingErroruassertEqualustru	exceptionusourceuwarningsucatch_warningsuTrueusimplefilteruDeprecationWarningufilenameu
assertTrueucategory(uselfucmuerroruwuwarning((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_parsing_error�s	
u-CoverageOneHundredTestCase.test_parsing_errorcCs�tj�}|jd�|jtj��}|ddWdQX|jt|j�d�|jtj��}|ddWdQX|jt|j�d�dS(Nu�
            [section]
            invalid_percent = %
            invalid_reference = %(()
            invalid_variable = %(does_not_exist)s
        usectionuinvalid_percentu.'%' must be followed by '%' or '(', found: '%'uinvalid_referenceu+bad interpolation variable reference '%(()'(uconfigparseruConfigParseruread_stringuassertRaisesuInterpolationSyntaxErroruassertEqualustru	exception(uselfuparserucm((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolation_validationsu8CoverageOneHundredTestCase.test_interpolation_validationcCs�tjd�}tj�}tjdd
��*}tjdt�|j	|dd�WdQXx$|D]}|j
|jtk�q`W|jt
|�d�|j|ddd	�dS(Nu2
        [section]
        option = value
        urecordualwaysufilenameuStringIOiusectionuoptionuvalueT(uiouStringIOuconfigparseruConfigParseruwarningsucatch_warningsuTrueusimplefilteruDeprecationWarningureadfpu
assertTrueucategoryuassertEqualulen(uselfusiouparseruwuwarning((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_readfp_deprecations	
u2CoverageOneHundredTestCase.test_readfp_deprecationc
Csbtjdd��#}tjdt�tj�}WdQXx$|D]}|j|jtk�q>WdS(NurecordualwaysT(	uwarningsucatch_warningsuTrueusimplefilteruDeprecationWarninguconfigparseruSafeConfigParseru
assertTrueucategory(uselfuwuparseruwarning((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu!test_safeconfigparser_deprecation$s

u<CoverageOneHundredTestCase.test_safeconfigparser_deprecationcCs7tj�}|jd�|jt|d�d�dS(Nu7
            [section]
            key = value
        usectionu<Section: section>(uconfigparseruConfigParseruread_stringuassertEqualurepr(uselfuparser((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_sectionproxy_repr+su1CoverageOneHundredTestCase.test_sectionproxy_reprN(u__name__u
__module__u__qualname__u__doc__utest_duplicate_option_errorutest_interpolation_depth_errorutest_parsing_errorutest_interpolation_validationutest_readfp_deprecationu!test_safeconfigparser_deprecationutest_sectionproxy_repr(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuCoverageOneHundredTestCase�s
uCoverageOneHundredTestCasecBs�|EeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dd�Zdd�Zdd�Z
dd�ZdS(uExceptionPicklingTestCaseuBTests for issue #13760: ConfigParser exceptions are not picklable.cCsoddl}tjd�}|j|�}|j|�}|j|j|j�|jt|�t|��dS(Niuvalue(upickleuconfigparseruErrorudumpsuloadsuassertEqualumessageurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu
test_error7su$ExceptionPicklingTestCase.test_errorcCs�ddl}tjd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|jt	|�t	|��dS(Niusection(
upickleuconfigparseruNoSectionErrorudumpsuloadsuassertEqualumessageuargsusectionurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_nosectionerror?su-ExceptionPicklingTestCase.test_nosectionerrorcCs�ddl}tjdd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|jt
|�t
|��dS(Niuoptionusection(upickleuconfigparseru
NoOptionErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_nooptionerrorIsu,ExceptionPicklingTestCase.test_nooptionerrorcCs�ddl}tjddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��dS(Niusectionusourcei{(upickleuconfigparseruDuplicateSectionErrorudumpsuloadsuassertEqualumessageuargsusectionusourceulinenourepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_duplicatesectionerrorTsu4ExceptionPicklingTestCase.test_duplicatesectionerrorcCs�ddl}tjdddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|j|j|j�|jt|�t|��dS(Niusectionuoptionusourcei{(
upickleuconfigparseruDuplicateOptionErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionusourceulinenourepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_duplicateoptionerror`s	u3ExceptionPicklingTestCase.test_duplicateoptionerrorcCs�ddl}tjddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|jt
|�t
|��dS(Niuoptionusectionumsg(upickleuconfigparseruInterpolationErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolationerrornsu1ExceptionPicklingTestCase.test_interpolationerrorcCs�ddl}tjdddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��dS(Niuoptionusectionurawvalu	reference(upickleuconfigparseruInterpolationMissingOptionErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionu	referenceurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu$test_interpolationmissingoptionerrorysu>ExceptionPicklingTestCase.test_interpolationmissingoptionerrorcCs�ddl}tjddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|jt
|�t
|��dS(Niuoptionusectionumsg(upickleuconfigparseruInterpolationSyntaxErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolationsyntaxerror�su7ExceptionPicklingTestCase.test_interpolationsyntaxerrorcCs�ddl}tjddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|jt
|�t
|��dS(Niuoptionusectionurawval(upickleuconfigparseruInterpolationDepthErrorudumpsuloadsuassertEqualumessageuargsusectionuoptionurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_interpolationdeptherror�s	u6ExceptionPicklingTestCase.test_interpolationdeptherrorcCs�ddl}tjd�}|jdd�|jdd�|jdd�|j|�}|j|�}|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��tjd	d	�}|jdd�|jdd�|jdd�|j|�}|j|�}|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��dS(
Niusourceiuline1iuline2iuline3ufilename(upickleuconfigparseruParsingErroruappendudumpsuloadsuassertEqualumessageuargsusourceuerrorsurepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_parsingerror�s.u+ExceptionPicklingTestCase.test_parsingerrorcCs�ddl}tjddd�}|j|�}|j|�}|j|j|j�|j|j|j�|j|j|j�|j|j	|j	�|j|j
|j
�|jt|�t|��dS(Niufilenamei{uline(upickleuconfigparseruMissingSectionHeaderErrorudumpsuloadsuassertEqualumessageuargsulineusourceulinenourepr(uselfupickleue1upickledue2((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_missingsectionheadererror�su8ExceptionPicklingTestCase.test_missingsectionheadererrorN(u__name__u
__module__u__qualname__u__doc__u
test_errorutest_nosectionerrorutest_nooptionerrorutest_duplicatesectionerrorutest_duplicateoptionerrorutest_interpolationerroru$test_interpolationmissingoptionerrorutest_interpolationsyntaxerrorutest_interpolationdeptherrorutest_parsingerrorutest_missingsectionheadererror(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuExceptionPicklingTestCase4s

uExceptionPicklingTestCasecBs&|EeZdZdZdd�ZdS(uInlineCommentStrippingTestCaseu}Tests for issue #14590: ConfigParser doesn't strip inline comment when
    delimiter occurs earlier without preceding space..cCs�tjdd�}|jd�|d}|j|dd�|j|d	d
�|j|dd�|j|d
d�|j|dd�|j|dd�|j|dd�|d}|j|dd�|j|d	d
�|j|dd�dS(Nuinline_comment_prefixesu;u#u//u�
        [section]
        k1 = v1;still v1
        k2 = v2 ;a comment
        k3 = v3 ; also a comment
        k4 = v4;still v4 ;a comment
        k5 = v5;still v5 ; also a comment
        k6 = v6;still v6; and still v6 ;a comment
        k7 = v7;still v7; and still v7 ; also a comment

        [multiprefix]
        k1 = v1;still v1 #a comment ; yeah, pretty much
        k2 = v2 // this already is a comment ; continued
        k3 = v3;#//still v3# and still v3 ; a comment
        usectionuk1uv1;still v1uk2uv2uk3uv3uk4uv4;still v4uk5uv5;still v5uk6uv6;still v6; and still v6uk7uv7;still v7; and still v7umultiprefixuv3;#//still v3# and still v3(u;u#u//(uconfigparseruConfigParseruread_stringuassertEqual(uselfucfgus((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyutest_stripping�s 		

u-InlineCommentStrippingTestCase.test_strippingN(u__name__u
__module__u__qualname__u__doc__utest_stripping(u
__locals__((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyuInlineCommentStrippingTestCase�suInlineCommentStrippingTestCaseu__main__((ucollectionsuconfigparseruiouosusysutextwrapuunittestuwarningsutestusupportuUserDictu
SortedDictuCfgParserTestCaseClassu
BasicTestCaseuTestCaseuStrictTestCaseuConfigParserTestCaseu#ConfigParserTestCaseNoInterpolationu'ConfigParserTestCaseLegacyInterpolationu)ConfigParserTestCaseNonStandardDelimitersu-ConfigParserTestCaseNonStandardDefaultSectionuMultilineValuesTestCaseuRawConfigParserTestCaseu,RawConfigParserTestCaseNonStandardDelimitersuRawConfigParserTestSambaConfu)ConfigParserTestCaseExtendedInterpolationuConfigParserTestCaseNoValueuConfigParserTestCaseTrickyFileuIssue7005TestCaseuSortedTestCaseuCompatibleTestCaseuCopyTestCaseuFakeFileureadline_generatoruReadFileTestCaseuCoverageOneHundredTestCaseuExceptionPicklingTestCaseuInlineCommentStrippingTestCaseu__name__umain(((u;/opt/alt/python33/lib64/python3.3/test/test_configparser.pyu<module>sN ���Y$*�-
SV�$