Current File : //opt/imh-python/lib/python2.7/test/test_anydbm.pyo
�
��Wc@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((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/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((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyR"scCshtjtd�}|j|j�g�x"|jD]}|j|||<q2W|j|�|j�dS(NR(RtopenRtassertEqualtkeyst_dicttread_helpertclose(RR	tkey((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/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	((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyttest_anydbm_modification-s


cCs7|j�tjtd�}|j|�|j�dS(Ntr(R&RRRR!R"(RR	((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyttest_anydbm_read4s

cCs9|j�tjtd�}|j|�}|j�dS(NR((R&RRRtkeys_helperR"(RR	R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyttest_anydbm_keys:s
cCsB|j|�}x,|jD]!}|j|j|||�qWdS(N(R*R R(RR	RR#((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyR!@scCsEtjtd�}x"|jD]}|j|||<qW|j�dS(Ntn(RRRR R"(RR	tk((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyR&EscCsC|j�}|j�|jj�}|j�|j||�|S(N(RtsortR R(RR	Rtdkeys((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyR*Ks

cCst�dS(N(R
(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyttearDownSscCst�dS(N(R
(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pytsetUpVs(
t__name__t
__module__R RR$R'R)R+R!R&R*R0R1(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyRs"

									cCs ztjt�Wdt�XdS(N(Rtrun_unittestRR
(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyt	test_mainYst__main__(t__doc__RRRttestRtTESTFNRt
import_moduletTrueRR
RRR5R2(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_anydbm.pyt<module>s			A