code: def test_PhotoshopInfo(tmp_path):
      with Image.open("Tests/images/issue_2278.tif") as im:
          assert len(im.tag_v2[34377]) == 70
          assert isinstance(im.tag_v2[34377], bytes)
          out = str(tmp_path / "temp.tiff")
          im.save(out)
      with Image.open(out) as reloaded:
          assert len(reloaded.tag_v2[34377]) == 70
          assert isinstance(reloaded.tag_v2[34377], bytes)
  
imports: import io
  import struct
  import pytest
  from PIL import Image, TiffImagePlugin, TiffTags
  from PIL.TiffImagePlugin import IFDRational
  from .helper import assert_deep_equal, hopper
label_desc: Use image node_id 18 for calling a global function with example usage: test_PhotoshopInfo(tmp_path) without return types