File: //proc/self/root/proc/3/root/proc/2/root/usr/lib/python2.4/test/seq_tests.pyo
mò
‚=5Dc @ s9 d Z d k Z d k l Z d e i f d „ ƒ YZ d S( s3
Tests common to tuple, list and UserList.UserList
N( s test_supportt
CommonTestc 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 RS( Nc C s$ g }
d g } d d g } | i ƒ } | i |
ƒ } | i | ƒ } | i | ƒ } | i | ƒ } | i | ƒ }
| i | ƒ } | i | ƒ } | i t
| ƒ ƒ } d f d „ ƒ Y} | | ƒ } | i | ƒ } | i t | ƒ t | ƒ ƒ d } | i | ƒ } | i t | ƒ t | ƒ ƒ d S( Ni i t OtherSeqc B s# t Z d „ Z d „ Z d „ Z RS( Nc C s
| | _ d S( N( t initseqt selft _OtherSeq__data( R R ( ( t$ /usr/lib/python2.4/test/seq_tests.pyt __init__ s c C s
t | i ƒ S( N( t lenR R ( R ( ( R t __len__ s c C s | i | S( N( R R t i( R R ( ( R t __getitem__! s ( t __name__t
__module__R R R
( ( ( R R s s this is also a sequence( t l0t l1t l2R t type2testt ut u0t u1t u2t uut uu0t uu1t uu2t tuplet vR t st v0t assertEqualR t vv( R R R R R R R R R R R R R R
R R R ( ( R t test_constructors s&