Current Path : /usr/local/lib/python2.5/bsddb/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/bsddb/test/test_compare.pyc |
hRc @ s{ d Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k Z y d d k l Z l Z Wn) e j o d d k l Z l Z n Xe Z d Z d Z d d d d d d d d g Z d d d d d d d d d g Z d e i f d YZ d e i f d YZ d e f d YZ d e f d YZ d Z e d j o e i d d n d S( s8 TestCases for python DB Btree key comparison function. iN( t StringIO( t dbt dbshelvec C s t | i | i S( N( t cmpt lower( t leftt right( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt lowercase_cmp s c C s | d } | S( Nc S s | | | S( N( ( R R t delegate( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt reverse s ( ( R R ( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt make_reverse_comparator s t t CCCPt at aaat bt ct ccccet ccccft CCt ComparatorTestsc B s, e Z d Z d Z d Z d Z RS( c C s; | } | i | | i | | j d | | | f d S( Ns' comparator `%s' is not right: %s vs. %s( t sortt failUnless( t selft comparatort expected_datat data( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt comparator_test_helper s c C s | i t t d S( N( R t lexical_cmpt _expected_lexical_test_data( R ( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt test_lexical_comparator% s c C s+ t } | i | i t t | d S( N( R R R R R ( R t rev( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt test_reverse_lexical_comparator' s c C s | i t t d S( N( R R t _expected_lowercase_test_data( R ( ( s3 /usr/local/lib/python2.5/bsddb/test/test_compare.pyt test_lowercase_comparator, s ( t __name__t __module__R R R R"