code: def test_enumerate_compress_ranges(name, input, output):
      assert output == tuple(_pipeline.enumerate_compress_ranges(input))
  
file_path: OCRmyPDF/tests/test_pipeline.py
imports: from __future__ import annotations
  import warnings
  from unittest.mock import Mock
  import pytest
  from PIL import Image
  from reportlab.lib.units import inch
  from reportlab.lib.utils import ImageReader
  from reportlab.pdfgen.canvas import Canvas
  from ocrmypdf import _pipeline, pdfinfo
  from ocrmypdf.helpers import Resolution
label_desc: Use image node_id 3 for calling a global function with example usage: test_enumerate_compress_ranges(name, input, output) without return types