code: def test_save(tmp_path):
      im = hopper()
  
      for ext in [".wmf", ".emf"]:
          tmpfile = str(tmp_path / ("temp" + ext))
          with pytest.raises(OSError):
              im.save(tmpfile)
  
imports: import pytest
  from PIL import Image, WmfImagePlugin
  from .helper import assert_image_similar_tofile, hopper
label_desc: Use image node_id 5 for calling a global function with example usage: test_save(tmp_path) without return types