code: def test_random_zoom_error():
      with pytest.raises(ValueError):
          affine_transformations.random_zoom(0, zoom_range=[0])
  
file_path: keras-preprocessing/tests/image/affine_transformations_test.py
imports: import numpy
  import pytest
  from keras_preprocessing.image import affine_transformations
label_desc: Use image node_id 6 for calling a global function with example usage: test_random_zoom_error() without return types