<s> from blocks . utils . containers import AnnotatingList <EOL> def test_annotating_list ( ) : <EOL> l = AnnotatingList ( range ( <NUM_LIT:10> ) ) <EOL> assert repr ( l ) == repr ( list ( range ( <NUM_LIT:10> ) ) ) <EOL> assert l == list ( range ( <NUM_LIT:10> ) ) <EOL> assert l != list ( range ( <NUM_LIT:9> ) ) <EOL> assert l [ <NUM_LIT:0> ] == <NUM_LIT:0> <EOL> l [ <NUM_LIT:0> ] = <NUM_LIT:10> <EOL> del l [ <NUM_LIT:0> ] <EOL> l . insert ( <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> assert l == list ( range ( <NUM_LIT:10> ) ) </s>
