Current File : //home/strato/chroot/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyo
�
��#ec@s�dZddlmZmZmZddlZedde�ZddlZddl	Z	ddl
Z
ddlZddlZdej
fd��YZd�Zed	kr�e�ndS(
syTests for the bsddb185 module.

The file 185test.db found in Lib/test/ is for testing purposes with this
testing suite.

i����(trun_unittesttfindfilet
import_moduleNtbsddb185t
deprecatedt
Bsddb185TestscBs#eZd�Zd�Zd�ZRS(cCs7tjtd��}|j|dd�|j�dS(Ns
185test.dbt1(RthashopenRtassertEqualtclose(tselftdb((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyttest_open_existing_hashscCs#|jtjtd��d�dS(Ns
185test.dbR(RtwhichdbR(R
((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyttest_whichdbscCsotj�}zNtjj|d�}tj|d�j�tj|�}|j	|d�Wdt
j|�XdS(Nsfoo.dbtcR(ttempfiletmkdtemptostpathtjointanydbmtopenR	R
tassertNotEqualtshutiltrmtree(R
ttmpdirtdbfiletftype((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyttest_anydbm_creates(t__name__t
__module__RRR(((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyRs		cCstt�dS(N(RR(((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyt	test_main'st__main__(t__doc__ttest.test_supportRRRtunittesttTrueRRR
RRRtTestCaseRR R(((s2/opt/RZpython2/lib/python2.7/test/test_bsddb185.pyt<module>s