#NEWLINE# def test_proper( self ) : #NEWLINE# #INDENT# assert w_null . is_proper_list ( ) #NEWLINE# _1 = W_Flonum ( 1.2 ) #NEWLINE# _2 = W_Flonum ( 2.2 ) #NEWLINE# c = W_Cons . make ( _1 , _2 ) #NEWLINE# assert ( not c . is_proper_list ( ) ) #NEWLINE# c = W_Cons . make ( _1 , w_null ) #NEWLINE# assert c . is_proper_list ( ) #NEWLINE# c = W_Cons . make ( c , self ) #NEWLINE# assert c . is_proper_list ( ) #NEWLINE# c = W_Cons . make ( W_Fixnum ( 1 ) , c ) #NEWLINE# assert c . is_proper_list ( )