code: def test_zero_size():
      # Shouldn't cause floating point exception
      # See https://github.com/python-pillow/Pillow/issues/2259
  
      im = Image.fromarray(numpy.empty((0, 0), dtype=numpy.uint8))
  
      assert im.size == (0, 0)
  
file_path: pillow-simd/Tests/test_numpy.py
imports: import pytest
  from PIL import Image
  from .helper import assert_deep_equal, assert_image, hopper
label_desc: Use image node_id 12 for calling a global function with example usage: test_zero_size() without return types