KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/lib64/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib64/python2.4/test/test_plistlib.pyo
mò
‚=5Dc@sŽdkZdkZdkZdkZdkZdklZdidddƒZdei	fd„ƒYZ
d„Zed	joeƒndS(
N(stest_supports(<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>aDate</key>
        <date>2004-10-26T10:33:33Z</date>
        <key>aDict</key>
        <dict>
                <key>aFalseValue</key>
                <false/>
                <key>aTrueValue</key>
                <true/>
                <key>aUnicodeValue</key>
                <string>Mässig, Maß</string>
                <key>anotherString</key>
                <string>&lt;hello &amp; 'hi' there!&gt;</string>
                <key>deeperDict</key>
                <dict>
                        <key>a</key>
                        <integer>17</integer>
                        <key>b</key>
                        <real>32.5</real>
                        <key>c</key>
                        <array>
                                <integer>1</integer>
                                <integer>2</integer>
                                <string>text</string>
                        </array>
                </dict>
        </dict>
        <key>aFloat</key>
        <real>0.5</real>
        <key>aList</key>
        <array>
                <string>A</string>
                <string>B</string>
                <integer>12</integer>
                <real>32.5</real>
                <array>
                        <integer>1</integer>
                        <integer>2</integer>
                        <integer>3</integer>
                </array>
        </array>
        <key>aString</key>
        <string>Doodah</string>
        <key>anInt</key>
        <integer>728</integer>
        <key>nestedData</key>
        <array>
                <data>
                PGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAzxsb3RzIG9mIGJpbmFyeSBndW5r
                PgABAgM8bG90cyBvZiBiaW5hcnkgZ3Vuaz4AAQIDPGxvdHMgb2YgYmluYXJ5
                IGd1bms+AAECAzxsb3RzIG9mIGJpbmFyeSBndW5rPgABAgM8bG90cyBvZiBi
                aW5hcnkgZ3Vuaz4AAQIDPGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAzxsb3Rz
                IG9mIGJpbmFyeSBndW5rPgABAgM8bG90cyBvZiBiaW5hcnkgZ3Vuaz4AAQID
                PGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAw==
                </data>
        </array>
        <key>someData</key>
        <data>
        PGJpbmFyeSBndW5rPg==
        </data>
        <key>someMoreData</key>
        <data>
        PGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAzxsb3RzIG9mIGJpbmFyeSBndW5rPgABAgM8
        bG90cyBvZiBiaW5hcnkgZ3Vuaz4AAQIDPGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAzxs
        b3RzIG9mIGJpbmFyeSBndW5rPgABAgM8bG90cyBvZiBiaW5hcnkgZ3Vuaz4AAQIDPGxv
        dHMgb2YgYmluYXJ5IGd1bms+AAECAzxsb3RzIG9mIGJpbmFyeSBndW5rPgABAgM8bG90
        cyBvZiBiaW5hcnkgZ3Vuaz4AAQIDPGxvdHMgb2YgYmluYXJ5IGd1bms+AAECAw==
        </data>
        <key>Ã…benraa</key>
        <string>That was a unicode key.</string>
</dict>
</plist>
t is	tTestPlistlibcBsktZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„ZRS(NcCs"ytitiƒWnnXdS(N(tostunlinkttest_supporttTESTFN(tself((t*/usr/lib64/python2.4/test/test_plistlib.pyttearDown]scCsâtddddddddd	d
ggddd
ddtdddddtdtdtddddddd	dgƒƒdtidƒdtidd ƒd!tidd ƒgd"tid#d d$d d%d%ƒƒ	}d&|d'<|S((NtaStringtDoodahtaListtAtBif32.5iiitaFloatf0.5tanIntiØtaDictt
anotherStrings<hello & 'hi' there!>t
aUnicodeValueu
Mässig, Maßt
aTrueValuetaFalseValuet
deeperDicttaitbtcttexttsomeDatas
<binary gunk>tsomeMoreDatas<lots of binary gunk>i
t
nestedDatataDateiÔii!sThat was a unicode key.uÃ…benraa(tdicttTruetFalsetplistlibtDatatdatetimetpl(RR$((Rt_createcs	'$
cCs<|iƒ}|i|ddƒ|i|ddtƒdS(NR	R
RR(RR%R$tassertEqualR (RR$((Rttest_createxscCsQ|iƒ}ti|tiƒtitiƒ}|i	t
|ƒt
|ƒƒdS(N(RR%R$R!t
writePlistRRt	readPlisttpl2R&R(RR$R*((Rttest_io}scCsi|iƒ}ti|ƒ}ti|ƒ}|it	|ƒt	|ƒƒti|ƒ}|i||ƒdS(N(RR%R$R!twritePlistToStringtdatatreadPlistFromStringR*R&Rtdata2(RR/R-R$R*((Rttest_stringƒscCs5titƒ}ti|ƒ}|i|tdƒdS(Ns2generated data was not identical to Apple's output(R!R.tTESTDATAR$R,R-RR&(RR-R$((Rttest_appleformatting‹scCs>|iƒ}titƒ}|it|ƒt|ƒdƒdS(Ns2generated data was not identical to Apple's output(	RR%R$R!R.R1R*R&R(RR*R$((Rttest_appleformattingfromliteral‘scCsmdkl}|ƒ}|iƒ}ti||ƒti||iƒƒƒ}|i
t|ƒt|ƒƒdS(N(sStringIO(tStringIOtfRR%R$R!R(R)tgetvalueR*R&R(RR*R5R4R$((Rt
test_stringio—s
	cCsmdkl}|ƒ}|iƒ}ti||ƒti||i	ƒƒƒ}|it|ƒt|ƒƒdS(N(sStringIO(
t	cStringIOR4R5RR%R$R!R(R)R6R*R&R(RR*R5R4R$((Rttest_cstringioŸs
	cCsrxktdƒD]]}t|ƒ}d|}|djp
|djoti|ƒq
|it	ti|ƒq
WdS(Ni€sstring containing %si s
	(
trangetitchrRt
testStringR!R,RtassertRaisest
ValueError(RRR;R=((Rttest_controlcharacters§s

	cCsld}ddddg}titi|ƒƒ}titi|ƒƒ}|i||ƒ|i||ƒdS(Ntabciii(	ttest1ttest2R!R.R,tresult1tresult2RR&(RRBRCRERD((Rttest_nondictroot³s(
t__name__t
__module__RR%R'R+R0R2R3R7R9R@RF(((RR[s										cCstitƒdS(N(Rtrun_unittestR(((Rt	test_main¼st__main__(
tunittestR!RttimeR#ttestRtreplaceR1tTestCaseRRJRG(	RR!R1RLR#RJRMRR((Rt?s					
Oa	


Anon7 - 2021