|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/lib/python2.4/test/ |
Upload File : |
mò
‚=5Dc @ sÀ d k Z d k l Z d k Z d k Z d k Z d e i f d „ ƒ YZ d k Z d e i f d „ ƒ YZ
d e f d „ ƒ YZ d e i f d „ ƒ YZ
d
„ Z e d j o e ƒ n d S( N( s test_supportt DictTestc B s¼ t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s- | i t ƒ h ƒ | i t ƒ h j ƒ d S( N( t selft assertEqualt dictt assert_( R ( ( t$ /usr/lib/python2.4/test/test_dict.pyt test_constructor s c C sc | i h ƒ | i h d d <ƒ | i t h ƒ t j ƒ | i t h d d <ƒ t j ƒ d S( Ni i ( R R t boolt Falset True( R ( ( R t test_bool
s c C s† h } | i | i ƒ g ƒ h d d <d d <} | i ƒ } | i | i d ƒ ƒ | i | i d ƒ ƒ | i t | i d ƒ d S( Nt ai t bi (
t dR R t keyst kR t has_keyt assertRaisest TypeErrort None( R R R
( ( R t test_keys s c C s^ h } | i | i ƒ g ƒ h d d <} | i | i ƒ d g ƒ | i t | i d ƒ d S( Ni i ( R
R R t valuesR R R ( R R
( ( R t test_values s
c C s^ h } | i | i ƒ g ƒ h d d <} | i | i ƒ d g ƒ | i t | i d ƒ d S( Ni i ( i i ( R
R R t itemsR R R ( R R
( ( R t
test_items% s
c C sx h } | i | i d ƒ ƒ h d d <d d <} | i ƒ } | i ƒ | i | d d g ƒ | i t | i ƒ d S( NR i R i (
R
R R R R R t sortR R R ( R R R
( ( R t test_has_key. s
c C s” h } | i d | j ƒ | i d | j ƒ h d d <d d <} | i d | j ƒ | i d | j ƒ | i d | j ƒ | i t | i ƒ d S( NR i R i t c( R
R R R R t __contains__( R R
( ( R t
test_contains8 s c C sN h } | i t | ƒ d ƒ h d d <d d <} | i t | ƒ d ƒ d S( Ni R i R i ( R
R R t len( R R
( ( R t test_lenC s c s_ h d d <d d <} | i | d d ƒ | i | d d ƒ d | d <d | d <| i | d d ƒ | i | d d ƒ | d =| i | h d d <d d <ƒ | i t | i ƒ d t f ‡ d † ƒ Y} h } d
| | ƒ <| i t | i d ƒ d t f d
„ ƒ Y‰ d t f ‡ d † ƒ Y} | ƒ } d
| | <t
| _ | i ˆ | i | ƒ d S( NR i R i i R i t BadEqc s t Z ‡ d † Z RS( Nc s
ˆ ƒ ‚ d S( N( t Exc( R t other( R! ( R t __eq__W s ( t __name__t
__module__R# ( ( R! ( R R V s i* i R! c B s t Z RS( N( R$ R% ( ( ( R R! ^ s t BadHashc s t Z e Z ‡ d † Z RS( Nc s | i o
ˆ ƒ ‚ n d Sd S( Ni* ( R t failR! ( R ( R! ( R t __hash__b s
( R$ R% R R' R( ( ( R! ( R R&