code: def test_get_img_size_from_data_raises_an_exception_when_data_is_not_pil_img_or_numpy_array():
      data = "some data"
  
      with pytest.raises(Exception) as _:
          get_img_size_from_data(data)
  
imports: import pytest
  from icevision.all import *
  from icevision.utils.imageio import open_gray_scale_image
label_desc: Use image node_id 18 for calling a global function with example usage: test_get_img_size_from_data_raises_an_exception_when_data_is_not_pil_img_or_numpy_array() without return types