#NEWLINE# def test__is_1d_1darray( ) : #NEWLINE# #INDENT# a = np . array ( [ 0.1 , 0.2 , 0.3 ] ) #NEWLINE# is_1d_array = _is_1d ( a ) #NEWLINE# a_return = np . array ( [ a ] ) #NEWLINE# assert_array_equal ( a_return , is_1d_array )