code: def test_save(tmp_path):
      # Arrange
      im = hopper()
      tmpfile = str(tmp_path / "temp.grib")
  
      # Act / Assert: stub cannot save without an implemented handler
      with pytest.raises(OSError):
          im.save(tmpfile)
  
file_path: pillow/Tests/test_file_gribstub.py
imports: from __future__ import annotations
  import pytest
  from PIL import GribStubImagePlugin, Image
  from .helper import hopper
label_desc: Use image node_id 4 for calling a global function with example usage: test_save(tmp_path) without return types