#NEWLINE# def test_numpy_launders_python_types( ) : #NEWLINE# #INDENT# ds = datashape . dshape ( '3 * int32' ) #NEWLINE# x = convert ( np . ndarray , [ '1' , '2' , '3' ] , dshape = ds ) #NEWLINE# assert ( convert ( list , x ) == [ 1 , 2 , 3 ] )