#NEWLINE# def test_as_imageio_1channel_uint16_out( ) : #NEWLINE# #INDENT# im = Image . init_blank ( ( 120 , 120 ) , n_channels = 1 , fill = 1 ) #NEWLINE# new_im = im . as_imageio ( out_dtype = np . uint16 ) #NEWLINE# assert ( new_im . dtype == np . uint16 ) #NEWLINE# assert_allclose ( ( np . ones ( [ 120 , 120 ] ) * 65535 ) , new_im )