def test_zoom_output_shape():
 x = np.arange(12).reshape((3, 4))
 ndimage.zoom(x, 2, output=np.zeros((6, 8)))

def test_zoom_output_shape ( ) : x = np . arange ( 12 ) . reshape ( ( 3 , 4 ) ) ndimage . zoom ( x , 2 , output = np . zeros ( ( 6 , 8 ) ) )
ticket #643 .