tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
O\¬Qc@s¸dZddlmZmZmZddlZeddeƒZddlZddl    Z    ddl
Z
ddl Z ddl 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(RthashopenRt assertEqualtclose(tselftdb((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_bsddb185.pyttest_open_existing_hashscCs#|jtjtdƒƒdƒdS(Ns
185test.dbR(RtwhichdbR(R
((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/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((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_bsddb185.pyttest_anydbm_creates (t__name__t
__module__R RR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_bsddb185.pyRs        cCsttƒdS(N(RR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_bsddb185.pyt    test_main'st__main__(t__doc__ttest.test_supportRRRtunittesttTrueRRR RRRtTestCaseRR R(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_bsddb185.pyt<module>s