code: def test_dataset_construct_fuzzy(
      tmp_path, arrow_table_fn, dataset_params
  ):
      arrow_table = arrow_table_fn()
  
      arrow_dataset = lgb.Dataset(arrow_table, params=dataset_params)
      arrow_dataset.construct()
  
      pandas_dataset = lgb.Dataset(
          arrow_table.to_pandas(), params=dataset_params
      )
      pandas_dataset.construct()
  
      arrow_dataset._dump_text(tmp_path / "arrow.txt")
      pandas_dataset._dump_text(tmp_path / "pandas.txt")
      assert filecmp.cmp(
          tmp_path / "arrow.txt", tmp_path / "pandas.txt"
      )
  
imports: import filecmp
  from typing import Any, Dict, Optional
  import numpy
  import pyarrow
  import pytest
  import lightgbm
  from .utils import np_assert_array_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_dataset_construct_fuzzy(tmp_path, arrow_table_fn, dataset_params) without return types