#NEWLINE# def test_convert_objects( ) : #NEWLINE# #INDENT# arr = np . array ( [ 'a' , 'b' , nan , nan , 'd' , 'e' , 'f' ] , dtype = 'O' ) #NEWLINE# result = lib . maybe_convert_objects ( arr ) #NEWLINE# assert ( arr . dtype == np . object_ )