code: def test_png_batch_fail():
      # this is a regression test for
      # https://github.com/imageio/imageio/issues/904
  
      img = np.ones((128, 128, 1), dtype=np.uint8)
  
      with pytest.raises(ValueError):
          iio.imwrite("<bytes>", img, extension=".png", plugin="pillow")
  
imports: import io
  import os
  from pathlib import Path
  import imageio.v3
  import numpy
  import pytest
  from imageio.core.request import InitializationError, Request
  from imageio.core.v3_plugin_api import PluginV3
  from imageio.plugins.pillow import PillowPlugin
  from PIL import Image, ImageSequence, ImageOps, __version__
label_desc: Use image node_id 40 for calling a global function with example usage: test_png_batch_fail() without return types