code: def test_jpg_compression(test_images, tmp_path):
      # Note: Note sure if we should test this or pillow
  
      im = np.load(test_images / "chelsea.npy")
  
      iio.imwrite(tmp_path / "1.jpg", im, plugin="pillow", quality=90)
      iio.imwrite(tmp_path / "2.jpg", im, plugin="pillow", quality=10)
  
      size_1 = os.stat(tmp_path / "1.jpg").st_size
      size_2 = os.stat(tmp_path / "2.jpg").st_size
      assert size_2 < size_1
  
imports: import io
  import os
  from pathlib import Path
  import imageio.v3
  import numpy
  import pytest
  from imageio.core.request import InitializationError, Request
  from imageio.core.v3_plugin_api import PluginV3
  from imageio.plugins.pillow import PillowPlugin
  from PIL import Image, ImageSequence, ImageOps, __version__
label_desc: Use image node_id 9 for calling a global function with example usage: test_jpg_compression(test_images, tmp_path) without return types