HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //usr/lib64/python2.7/test/test_bsddb185.pyc
�
zfc@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((s*/usr/lib64/python2.7/test/test_bsddb185.pyttest_open_existing_hashscCs#|jtjtd��d�dS(Ns
185test.dbR(RtwhichdbR(R
((s*/usr/lib64/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((s*/usr/lib64/python2.7/test/test_bsddb185.pyttest_anydbm_creates(t__name__t
__module__RRR(((s*/usr/lib64/python2.7/test/test_bsddb185.pyRs		cCstt�dS(N(RR(((s*/usr/lib64/python2.7/test/test_bsddb185.pyt	test_main'st__main__(t__doc__ttest.test_supportRRRtunittesttTrueRRR
RRRtTestCaseRR R(((s*/usr/lib64/python2.7/test/test_bsddb185.pyt<module>s