|
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/21573/task/21573/root/usr/lib/python2.4/test/ |
Upload File : |
mò
‚=5Dc @ sZ d k Z d k l Z l Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( N( s test_supports seq_testst TupleTestc B sV t Z e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z RS( Nc C s* t t | ƒ i ƒ | i t ƒ f ƒ d S( N( t superR t selft test_lent assertEqualt tuple( R ( ( t% /usr/lib/python2.4/test/test_tuple.pyt test_constructors s c C s2 t t | ƒ i ƒ | i f ƒ | i d ƒ d S( Ni* ( i* ( R R R t
test_trutht assert_( R ( ( R R s c C sY t t | ƒ i ƒ | i t f ƒ d ƒ | i t d ƒ d ƒ | i t d ƒ d ƒ d S( Ni i i i ( i ( i i i ( R R R R R t len( R ( ( R R s c C s@ t t | ƒ i ƒ d } | } | d 7} | i | | j ƒ d S( Ni i i i ( i i ( i i ( R R R t test_iaddt ut u2R ( R R R
( ( R R s
c C s@ t t | ƒ i ƒ d } | } | d 9} | i | | j ƒ d S( Ni i i ( i i ( R R R t test_imulR R
R ( R R R
( ( R R s
c C s2 d „ } | i t t | ƒ ƒ ƒ t d ƒ ƒ d S( Nc c s x t d ƒ D]
} | Vq
Wd S( Niè ( t ranget i( R ( ( R t f' s
iè ( R R R t listR R ( R R ( ( R t test_tupleresizebug% s c C sú d } t | ƒ } g } | D] } | D] } | | | f q' q ~ } | g } | D] } | D] } | | | f q^ qT ~ g } | D] } | D] } | | | f q q† ~ | t | ƒ } t | ƒ t t
t t | ƒ ƒ ƒ } | i | d j ƒ d S( Ni2 i ( t NR t baset _[1]R t jt xpt zipt inpsR
t sett mapt hasht
collisionsR R ( R R R R R R R R R ( ( R t test_hash, s 4x%c C s• t ƒ } d } | i | ƒ } | i | ƒ } | i t | ƒ t | ƒ ƒ | i t | ƒ t | ƒ ƒ | i t | ƒ d ƒ | i t | ƒ d ƒ d S( Ni i i s ()s (0, 1, 2)( i i i (
R t l0t l2R t type2testt a0t a2R t strt repr( R R# R$ R! R ( ( R t test_reprD s ( t __name__t
__module__R R"