%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_contains.pyo

ó
Nêáac@sddlmZmZddlZdd
d„ƒYZdefd„ƒYZdefd„ƒYZd	ejfd
„ƒYZd„Z	e
dkr™e	ƒndS(iÿÿÿÿ(thave_unicodetrun_unittestNtbase_setcBseZd„ZRS(cCs
||_dS(N(tel(tselfR((s./usr/local/lib/python2.7/test/test_contains.pyt__init__s(t__name__t
__module__R(((s./usr/local/lib/python2.7/test/test_contains.pyRstsetcBseZd„ZRS(cCs
|j|kS(N(R(RR((s./usr/local/lib/python2.7/test/test_contains.pyt__contains__
s(RRR	(((s./usr/local/lib/python2.7/test/test_contains.pyR	stseqcBseZd„ZRS(cCs|jg|S(N(R(Rtn((s./usr/local/lib/python2.7/test/test_contains.pyt__getitem__s(RRR(((s./usr/local/lib/python2.7/test/test_contains.pyR

stTestContainscBs,eZd„Zer!d„Znd„ZRS(csítdƒ‰tdƒ}tdƒ}|jd|ƒ|jd|ƒ|jd|ƒ|jd|ƒ|jt‡fd†ƒ|jt‡fd†ƒ|jddƒ|jddƒ|jddƒ|jddƒ|jtd	„ƒdS(
Niics
dˆkS(Ni(((ta(s./usr/local/lib/python2.7/test/test_contains.pyt<lambda>tcs
dˆkS(Ni(((R(s./usr/local/lib/python2.7/test/test_contains.pyRRtctabctdRcSs
ddkS(NR(tNone(((s./usr/local/lib/python2.7/test/test_contains.pyR%R(RRR
tassertIntassertNotIntassertRaisest	TypeError(RtbR((Rs./usr/local/lib/python2.7/test/test_contains.pyttest_common_testsscCs7|jdtdƒƒ|jdtdƒƒ|jdtdƒƒ|jtdƒdƒ|jtdƒtdƒƒ|jdtdƒƒ|jtdƒdƒ|jtdƒtdƒƒ|jtd„ƒ|jtdƒtdƒƒ|jtdƒtdƒƒ|jtdƒdƒ|jtdƒdƒdS(NRRRRcSsdtdƒkS(NR(Rtunicode(((s./usr/local/lib/python2.7/test/test_contains.pyR3R(RRRRR(R((s./usr/local/lib/python2.7/test/test_contains.pyttest_char_in_unicode(scCstdƒ}x|D]}|j||ƒqW|jd|ƒ|j||ƒt|ƒ}x|D]}|j||ƒq`W|jd|ƒ|j||ƒddd„ƒY}|j|ƒ|jƒddd„ƒY}y|j|ƒ|ƒWntk
rnXdS(	Ni
itDeviant1cBs#eZdZedƒZd„ZRS(s²Behaves strangely when compared

            This class is designed to make sure that the contains code
            works when the list is modified during the check.
            icSsC|dkr?|jjdƒ|jjdƒ|jjdƒndS(Nii
ii(taListtremove(Rtother((s./usr/local/lib/python2.7/test/test_contains.pyt__cmp__Rs
(RRt__doc__trangeRR!(((s./usr/local/lib/python2.7/test/test_contains.pyRKstDeviant2cBseZdZd„ZRS(sµBehaves strangely when compared

            This class raises an exception during comparison.  That in
            turn causes the comparison to fail with a TypeError.
            cSs|dkrtd‚ndS(Nitgotcha(tRuntimeError(RR ((s./usr/local/lib/python2.7/test/test_contains.pyR!as(RRR"R!(((s./usr/local/lib/python2.7/test/test_contains.pyR$[s(((R#RRttupleRR(RRtiRR$((s./usr/local/lib/python2.7/test/test_contains.pyttest_builtin_sequence_types=s"



(RRRRRR)(((s./usr/local/lib/python2.7/test/test_contains.pyR
s	cCsttƒdS(N(RR
(((s./usr/local/lib/python2.7/test/test_contains.pyt	test_mainkst__main__((ttest.test_supportRRtunittestRRR
tTestCaseR
R*R(((s./usr/local/lib/python2.7/test/test_contains.pyt<module>sY	

Zerion Mini Shell 1.0