code: def test_i():
      # Arrange
      c = b"a"
  
      # Act
      with pytest.warns(DeprecationWarning):
          ret = IptcImagePlugin.i(c)
  
      # Assert
      assert ret == 97
  
file_path: pillow/Tests/test_file_iptc.py
imports: from __future__ import annotations
  import sys
  from io import BytesIO, StringIO
  import pytest
  from PIL import Image, IptcImagePlugin
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 7 for calling a global function with example usage: test_i() without return types