Current Path : /usr/local/lib/python2.5/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/test/list_tests.pyo |
³ò h”Rc @ s] d Z d d k Z d d k Z d d k Z d d k l Z l Z d e i f d „ ƒ YZ d S( s, Tests common to list and UserList.UserList iÿÿÿÿN( t test_supportt seq_testst CommonTestc B s× e 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( c 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 assertEqualt type2testt __init__t assertNotEqualt id( t selft at b( ( s+ /usr/local/lib/python2.5/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]( R R t strt reprt append( R t l0t l2t a0t a2( ( s+ /usr/local/lib/python2.5/test/list_tests.pyt 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 t xrangeR t extendt openR t TESTFNt closeR t readR t ost remove( R t dt fo( ( s+ /usr/local/lib/python2.5/test/list_tests.pyt 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 t ranget assertRaisest ValueErrort __setitem__t slicet TypeErrort __getitem__R ( R R ( ( s+ /usr/local/lib/python2.5/test/list_tests.pyt 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"