code: def test_image_mode_not_supported(tmp_path):
      im = hopper("RGBA")
      tmpfile = str(tmp_path / "temp.eps")
      with pytest.raises(ValueError):
          im.save(tmpfile)
  
imports: import io
  import pytest
  from PIL import EpsImagePlugin, Image, features
  from .helper import assert_image_similar, assert_image_similar_tofile, hopper, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 9 for calling a global function with example usage: test_image_mode_not_supported(tmp_path) without return types