config root man

Current Path : /usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/test/test_pep292.pyc

³ò
h”Rc@s€ddkZddklZddd„ƒYZddd„ƒYZdeifd„ƒYZd	„Zed
joeƒndS(
iÿÿÿÿN(tTemplatetBagcBseZRS((t__name__t
__module__(((s,/usr/local/lib/python2.5/test/test_pep292.pyR	stMappingcBseZd„ZRS(cCsY|}xL|idƒD];}yt||ƒ}Wqtj
ot|ƒ‚qXqW|S(Nt.(tsplittgetattrtAttributeErrortKeyError(tselftnametobjtpart((s,/usr/local/lib/python2.5/test/test_pep292.pyt__getitem__
s(RRR(((s,/usr/local/lib/python2.5/test/test_pep292.pyRstTestTemplatecBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Z
RS(cCsWtdƒ}|i|itddddƒƒdƒ|it|itddƒƒdS(Ns,$who likes to eat a bag of $what worth $$100twhottimtwhatthams(tim likes to eat a bag of ham worth $100(RtassertEqualt
substitutetdicttassertRaisesR	(R
ts((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_regular_templatess!cCsitdƒ}tddddddƒ}|i|i|ƒdƒ|it|itddddƒƒdS(	Ns$who likes ${what} for ${meal}RRRRtmealtdinnerstim likes ham for dinner(RRRRRR	(R
Rtd((s,/usr/local/lib/python2.5/test/test_pep292.pyt"test_regular_templates_with_bracess
cCso|i}tdƒ}||itddddƒƒdƒtdƒ}||itddddƒƒdƒdS(	Ns-$who likes to eat a bag of $$what worth $$100RRRRs*tim likes to eat a bag of $what worth $100s
$who likes $$stim likes $(RRRR(R
teqR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_escapes%s	cCsT|i}tdƒ}tddƒ}||i|ƒdƒ||i|ƒdƒdS(Ns%(foo)s $foo ${foo}tfootbazs%(foo)s baz baz(RRRRtsafe_substitute(R
RRR((s,/usr/local/lib/python2.5/test/test_pep292.pyt
test_percents-s
	cCsv|i}tdƒ}tddƒ}||i|ƒdƒ||i|ƒdƒtdƒ}||i|ƒdƒdS(Ns&tim has eaten $count bags of ham todaytcountis!tim has eaten 7 bags of ham todays(tim has eaten ${count} bags of ham today(RRRRR"(R
RRR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_stringification4s	cCsZ|i}tdƒ}tdd	dd
ƒ}||i|ƒdƒ||i|ƒdƒdS(Ns$who ate ${meal}RRtfredRRskung paos'('tim', 'fred') ate ('ham', 'kung pao')(stimR&(shamskung pao(RRRRR"(R
RRR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_tupleargs=s
	c	CsÌ|i}tdƒ}||itddƒƒdƒ||itddƒƒdƒ||itdddd	ƒƒd
ƒ||itddddƒƒdƒ||itdddddd	ƒƒdƒdS(
Ns$who likes ${what} for ${meal}RRstim likes ${what} for ${meal}RRs$who likes ham for ${meal}RRs$who likes ham for dinnerstim likes ham for ${meal}stim likes ham for dinner(RRR"R(R
RR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_SafeTemplateDs	$cCs…|i}tdƒ}|t|itddƒƒtdƒ}|t|itddƒƒtdƒ}|t|itddƒƒdS(Ns$who likes $RRs$who likes ${what)s$who likes $100(RRt
ValueErrorRR(R
traisesR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_invalid_placeholdersPs	cCsNdtfd„ƒY}|dƒ}|i|itddddƒƒdƒdS(	Nt	PieDelimscBseZdZRS(t@(RRt	delimiter(((s,/usr/local/lib/python2.5/test/test_pep292.pyR,Zss-@who likes to eat a bag of @{what} worth $100RRRRs(tim likes to eat a bag of ham worth $100(RRRR(R
R,R((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_delimiter_overrideYs!cCs~dtfd„ƒY}tƒ}tƒ|_tƒ|i_d|ii_d|i_|dƒ}|i|i|ƒdƒdS(NtPathPatterncBseZdZRS(s[_a-z][._a-z0-9]*(RRt	idpattern(((s,/usr/local/lib/python2.5/test/test_pep292.pyR0asRRs,$bag.foo.who likes to eat a bag of $bag.whatstim likes to eat a bag of ham(	RRRtbagR RRRR(R
R0tmR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_idpattern_override`s	cCsÌdtfd„ƒY}tƒ}tƒ|_tƒ|i_d|ii_d|i_|dƒ}|i|i|ƒdƒdtfd„ƒY}|dƒ}|i	t
|ihƒ|i	t
|ihƒdS(	Nt	MyPatterncBseZdZRS(s¾
            (?P<escaped>@{2})                   |
            @(?P<named>[_a-z][._a-z0-9]*)       |
            @{(?P<braced>[_a-z][._a-z0-9]*)}    |
            (?P<invalid>@)
            (RRtpattern(((s,/usr/local/lib/python2.5/test/test_pep292.pyR5lsRRs,@bag.foo.who likes to eat a bag of @bag.whatstim likes to eat a bag of hamt
BadPatterncBseZdZRS(s
            (?P<badname>.*)                     |
            (?P<escaped>@{2})                   |
            @(?P<named>[_a-z][._a-z0-9]*)       |
            @{(?P<braced>[_a-z][._a-z0-9]*)}    |
            (?P<invalid>@)                      |
            (RRR6(((s,/usr/local/lib/python2.5/test/test_pep292.pyR7{s(RRRR2R RRRRRR)R"(R
R5R3RR7((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_pattern_overrideks	cCs>tdƒ}tddddƒ}|i|i|ƒdƒdS(Ns$who likes $whatRutÿmRufþedutÿm likes fþed(RRRR(R
RR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_unicode_values‡scCsä|i}tdƒ}||iddddƒdƒ||itddƒddƒdƒ||itddddƒddddƒdƒtd	ƒ}||itd
dƒdd
ƒdƒ||itddƒddƒdƒdS(Ns$who likes $whatRRRRs
tim likes hamR&skung paosthe mapping is $mappingR tnonetmappingtbozosthe mapping is bozotonettwosthe mapping is two(RRRR(R
RR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_keyword_argumentsŒs	%cCs(|i}|i}tdƒ}||iddddƒdƒ||itddƒddƒdƒ||itddddƒddddƒdƒtd	ƒ}||itd
dƒdd
ƒdƒ||itddƒddƒdƒtddƒ}|t|i|hƒ|t|i|hƒdS(Ns$who likes $whatRRRRs
tim likes hamR&skung paosthe mapping is $mappingR R:R;R<sthe mapping is bozoR=R>sthe mapping is two(RRRR"Rt	TypeErrorR(R
RR*RR((s,/usr/local/lib/python2.5/test/test_pep292.pyttest_keyword_arguments_safešs 		%cCsÚ|i}|i}dtfd„ƒY}|dƒ}||iddddƒdƒ|t|iƒ||iddddƒdƒ||iƒd	ƒ|d	ƒ}|t|itddddƒƒ||iƒd	ƒdS(
NtAmpersandTemplatecBseZdZRS(t&(RRR.(((s,/usr/local/lib/python2.5/test/test_pep292.pyRB¯ssthis &gift is for &{who} &&tgifttbudRtyousthis bud is for you &sthis &gift is for &{who} &(RRRRR	R"R)R(R
RR*RBR((s,/usr/local/lib/python2.5/test/test_pep292.pyR/¬s		"(RRRRRR#R%R'R(R+R/R4R8R9R?RA(((s,/usr/local/lib/python2.5/test/test_pep292.pyRs																cCs*ddkl}tg}|i|ŒdS(Niÿÿÿÿ(ttest_support(ttestRGRtrun_unittest(RGttest_classes((s,/usr/local/lib/python2.5/test/test_pep292.pyt	test_main»s	t__main__(((	tunittesttstringRRRtTestCaseRRKR(((s,/usr/local/lib/python2.5/test/test_pep292.pys<module>s¤	


Man Man