Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/list_tests.pyo
mò ‚=5Dc @ sQ d Z d k Z d k Z d k Z d k l Z l Z d e i f d „ ƒ YZ d S( s, Tests common to list and UserList.UserList N( s test_supports seq_testst 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 d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sé | i | i g ƒ | i ƒ ƒ | i d d d g ƒ } | i ƒ | i | | i g ƒ ƒ | i d d d g ƒ } | i d d d g ƒ | i | | i d d d g ƒ ƒ | i | ƒ } | i t | ƒ t | ƒ ƒ | i | | ƒ d S( Ni i i i i i ( t selft assertEqualt type2testt at __init__t bt assertNotEqualt id( R R R ( ( t% /usr/lib/python2.4/test/list_tests.pyt test_init s "c C só g } d d d g } | i | ƒ } | i | ƒ } | i t | ƒ t | ƒ ƒ | i t | ƒ t | ƒ ƒ | i | | ƒ | i t | ƒ d ƒ | i t | ƒ d ƒ | i | ƒ | i d ƒ | i t | ƒ d ƒ | i t | ƒ d ƒ d S( Ni i i s [0, 1, 2]i s [0, 1, 2, [...], 3]( t l0t l2R R t a0t a2R t strt reprt append( R R R R R ( ( R t test_repr s c C sÌ | i t d ƒ ƒ } | i | ƒ | i t d d ƒ ƒ | i | ƒ | i d ƒ zX t t i d ƒ } | | I| i ƒ t t i d ƒ } | i | i ƒ t | ƒ ƒ Wd | i ƒ t i t i ƒ Xd S( NiÈ i t wbt rb( R R t xranget dR t extendt opent test_supportt TESTFNt fot closeR t readR t ost remove( R R R ( ( R t test_print1 s c C s! | i t d ƒ ƒ } | i t | i t d d d ƒ d d d g ƒ | i t | i t d d ƒ d ƒ | i t | i t d d d ƒ d d g ƒ | i t | i d d ƒ d d d g | t d d d ƒ <| i | | i d d d d d d d d d d d d d d d d d d d d g ƒ ƒ d S( Ni i i i i i t xi i i i i i i i i i i i i ( R R t rangeR t assertRaisest ValueErrort __setitem__t slicet TypeErrort __getitem__R ( R R ( ( R t test_set_subscriptA s ."+c C s‹ | i t d ƒ ƒ } t | ƒ } | i t | ƒ | i t d d d ƒ ƒ ƒ | i t | i ƒ | i t t | i ƒ ƒ ƒ | i ƒ ƒ d S( Ni i iÿÿÿÿ( R R R"