code: def test_incomatible_write_format(tmp_path):
      with pytest.raises(IOError):
          iio.imopen(
              tmp_path / "foo.mp3",
              "w",
              plugin="pillow",
              legacy_mode=False,
          )
  
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 23 for calling a global function with example usage: test_incomatible_write_format(tmp_path) without return types