%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyo

�
5}�ac@s�dZddlZddlZddlZddlmZejZejdde	�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((s9/opt/plesk/python/2.7/lib64/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((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyR"scCshtjtd�}|j|j�g�x"|jD]}|j|||<q2W|j|�|j�dS(NR(RtopenRtassertEqualtkeyst_dicttread_helpertclose(RR	tkey((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyttest_anydbm_creation%s
cCsL|j�tjtd�}d|jd<|d<|j|�|j�dS(NRtindentedR(tinit_dbRRRR R!R"(RR	((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyttest_anydbm_modification-s


cCs7|j�tjtd�}|j|�|j�dS(Ntr(R&RRRR!R"(RR	((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyttest_anydbm_read4s

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

cCst�dS(N(R
(R((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyttearDownSscCst�dS(N(R
(R((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pytsetUpVs(
t__name__t
__module__R RR$R'R)R+R!R&R*R0R1(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyRs"

									cCs ztjt�Wdt�XdS(N(Rtrun_unittestRR
(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyt	test_mainYst__main__(t__doc__RRRttestRtTESTFNRt
import_moduletTrueRR
RRR5R2(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_anydbm.pyt<module>s			A	

Zerion Mini Shell 1.0