Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
bsddb
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/bsddb/test/test_queue.pyc
mò ‚=5Dc�����������@���sÈ���d��Z��d�k�Z�d�k�Z�d�k�Z�d�k�Z�d�k�l�Z�d�k�Z�y�d�k�l�Z�Wn �e �j �o�d�k �l�Z�n�Xd�k�l�Z�d�e�i �f�d�„��ƒ��YZ�d�„��Z�e�d�j�o�e�i�d �d �ƒ�n�d�S(���s&��� TestCases for exercising a Queue DB. N(���s���pprint(���s���db(���s���verboset���SimpleQueueTestCasec�����������B���s,���t��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�RS(���Nc���������C���s���t��i�ƒ��|��_�d��S(���N(���t���tempfilet���mktempt���selft���filename(���R���(����(����t+���/usr/lib/python2.4/bsddb/test/test_queue.pyt���setUp���s����c���������C���s1���y�t��i�|��i�ƒ�Wn�t��i�j �o�n�Xd��S(���N(���t���ost���removeR���R���t���error(���R���(����(����R���t���tearDown���s����c���������C���sk��t��o �d�Gd�d�GHd�|��i�i�GHn�t�i�ƒ��}�|�i�d�ƒ�|�i�|��i �t�i �t�i�ƒ�t��o!�d�d�d�GHt�|�i �ƒ��ƒ�n�x"�t�i�D]�}�|�i�|�d�ƒ�qŽ�Wt�|�ƒ�d�j�p�t�‚�|�i�d �d �ƒ�|�i�d�d�ƒ�|�i�d �d�ƒ�|�i�d�d�ƒ�t�|�ƒ�d�j�p�t�‚�t��o!�d�d�d�GHt�|�i �ƒ��ƒ�n�|�i�ƒ��~�t�i�ƒ��}�|�i�|��i �ƒ�t��o!�d�d�d�GHt�|�i �ƒ��ƒ�n�|�i�d�ƒ�|�i�ƒ��}�t��o!�d�d�d�GHt�|�i �ƒ��ƒ�n�|�i�ƒ��}�x(�|�o �t��o �|�GHn�|�i�ƒ��}�qæW|�i�ƒ��t��o!�d�d�d�GHt�|�i �ƒ��ƒ�n�t�|�ƒ�d�j�p �t�d�‚�|�i�ƒ��d��S(���Ns��� s���-=i���s���Running %s.test01_basic...i(���s���before appendst���-i4���id���s���some more dataie���s���and some more iK���s���out of orderi���s���replacement datai7���s���before closes ���after opens���one mores���after appends���after consume loopi����sj���if you see this message then you need to rebuild BerkeleyDB 3.1.17 with the patch in patches/qam_stat.diff(���t���verboseR���t ���__class__t���__name__t���dbt���DBt���dt ���set_re_lent���openR���t���DB_QUEUEt ���DB_CREATEt���pprintt���statt���stringt���letterst���xt���appendt���lent���AssertionErrort���putt���closet���cursort���ct���consumet���rec(���R���R!���R#���R���R���(����(����R���t���test01_basic!���sZ���� � � c���������C���sc��t��o �d�Gd�d�GHd�|��i�i�GHn�t�i�ƒ��d�j��o�t��o �d�GHn�d��Sn�t�i�ƒ��}�|�i�d �ƒ�|�i �|��i �t�i�t�i�ƒ�t��o!�d �d�d�GHt �|�i�ƒ��ƒ�n�x"�t�i�D]�}�|�i�|�d �ƒ�q¹�Wt�|�ƒ�d�j�p�t�‚�|�i�d �d�ƒ�|�i�d�d�ƒ�|�i�d�d�ƒ�|�i�d�d�ƒ�t�|�ƒ�d�j�p�t�‚�t��o!�d�d�d�GHt �|�i�ƒ��ƒ�n�|�i�ƒ��~�t�i�ƒ��}�|�i �|��i �ƒ�t��o!�d�d�d�GHt �|�i�ƒ��ƒ�n�|�i�d�ƒ�t��o!�d�d�d�GHt �|�i�ƒ��ƒ�n�|�i�ƒ��}�x(�|�o �t��o �|�GHn�|�i�ƒ��}�qWt��o!�d�d�d�GHt �|�i�ƒ��ƒ�n�|�i�ƒ��d��S(���Ns��� s���-=i���s ���Running %s.test02_basicPost32...i���i���i����s"���Test not run, DB not new enough...i(���s���before appendsR���i4���id���s���some more dataie���s���and some more iK���s���out of orderi���s���replacement datai7���s���before closes ���after opens���one mores���after appends���after consume loop(���i���i���i����(���R���R���R ���R���R���t���versionR���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R"���R#���(���R���R#���R���R���(����(����R���t���test02_basicPost32c���s\���� � � (���R���t ���__module__R���R ���R$���R&���(����(����(����R���R�������s��� Bc�����������C���s ���t��i�t�ƒ�S(���N(���t���unittestt ���makeSuiteR����(����(����(����R���t ���test_suite¨���s����t���__main__t���defaultTestR*���(���t���__doc__t���sysR���R���R���R���R(���t���bsddb3R���t���ImportErrort���bsddbt���test_allR���t���TestCaseR����R*���R���t���main( ���R����R���R���R(���R���R���R.���R*���R���R���(����(����R���t���?���s��� ’