%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_anydbm.pyc

ó
Nêáac@sdZddlZddlZddlZddlmZejZejdde	ƒZ
d„Zdejfd„ƒYZ
d	„Zed
kr™eƒndS(s=Test script for the anydbm module
   based on testdumbdbm.py
iÿÿÿÿN(ttest_supporttanydbmt
deprecatedcCsGx@tjtdƒD]+}ytj|ƒWqtk
r>qXqWdS(Nt*(tglobt_fnametostunlinktOSError(tf((s,/usr/local/lib/python2.7/test/test_anydbm.pyt
_delete_filess

tAnyDBMTestCasecBs™eZidd6dd6dd6dd6dd	6d
d6dd
6Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd„ZRS(tt0sPython:tatProgrammingtbtthetctwaytdtGuidoR	tintendedtgcGstjj||ŒdS(N(tunittesttTestCaset__init__(tselftargs((s,/usr/local/lib/python2.7/test/test_anydbm.pyR"scCshtjtdƒ}|j|jƒgƒx"|jD]}|j|||<q2W|j|ƒ|jƒdS(NR(RtopenRtassertEqualtkeyst_dicttread_helpertclose(RR	tkey((s,/usr/local/lib/python2.7/test/test_anydbm.pyttest_anydbm_creation%s
cCsL|jƒtjtdƒ}d|jd<|d<|j|ƒ|jƒdS(NRtindentedR(tinit_dbRRRR R!R"(RR	((s,/usr/local/lib/python2.7/test/test_anydbm.pyttest_anydbm_modification-s


cCs7|jƒtjtdƒ}|j|ƒ|jƒdS(Ntr(R&RRRR!R"(RR	((s,/usr/local/lib/python2.7/test/test_anydbm.pyttest_anydbm_read4s

cCs9|jƒtjtdƒ}|j|ƒ}|jƒdS(NR((R&RRRtkeys_helperR"(RR	R((s,/usr/local/lib/python2.7/test/test_anydbm.pyttest_anydbm_keys:s
cCsB|j|ƒ}x,|jD]!}|j|j|||ƒqWdS(N(R*R R(RR	RR#((s,/usr/local/lib/python2.7/test/test_anydbm.pyR!@scCsEtjtdƒ}x"|jD]}|j|||<qW|jƒdS(Ntn(RRRR R"(RR	tk((s,/usr/local/lib/python2.7/test/test_anydbm.pyR&EscCsC|jƒ}|jƒ|jjƒ}|jƒ|j||ƒ|S(N(RtsortR R(RR	Rtdkeys((s,/usr/local/lib/python2.7/test/test_anydbm.pyR*Ks

cCstƒdS(N(R
(R((s,/usr/local/lib/python2.7/test/test_anydbm.pyttearDownSscCstƒdS(N(R
(R((s,/usr/local/lib/python2.7/test/test_anydbm.pytsetUpVs(
t__name__t
__module__R RR$R'R)R+R!R&R*R0R1(((s,/usr/local/lib/python2.7/test/test_anydbm.pyRs"

									cCs ztjtƒWdtƒXdS(N(Rtrun_unittestRR
(((s,/usr/local/lib/python2.7/test/test_anydbm.pyt	test_mainYst__main__(t__doc__RRRttestRtTESTFNRt
import_moduletTrueRR
RRR5R2(((s,/usr/local/lib/python2.7/test/test_anydbm.pyt<module>s			A	

Zerion Mini Shell 1.0