code: def test_json_lines_compression(tmpdir, ext, out_comp, in_comp):
      fname = tmpdir.mkdir("gdf_json").join(
          "tmp_json_compression" + ext
      )
  
      nrows = 20
      pd_df = make_numeric_dataframe(nrows, np.int32)
      pd_df.to_json(
          fname, compression=out_comp, lines=True, orient="records"
      )
  
      cu_df = cudf.read_json(
          str(fname),
          compression=in_comp,
          lines=True,
          dtype={"col1": "int32", "col2": "int32"},
      )
      assert_eq(pd_df, cu_df)
  
imports: import copy
  import gzip
  import itertools
  import os
  from io import BytesIO, StringIO
  from pathlib import Path
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, TIMEDELTA_TYPES, assert_eq
label_desc: Use image node_id 18 for calling a global function with example usage: test_json_lines_compression(tmpdir, ext, out_comp, in_comp) without return types