code: def test_default_filename_for_block_is_deterministic(
      filename_provider,
  ):
      block = pd.DataFrame()
  
      first_filename = filename_provider.get_filename_for_block(
          block, task_index=0, block_index=0
      )
      second_filename = filename_provider.get_filename_for_block(
          block, task_index=0, block_index=0
      )
  
      assert first_filename == second_filename
  
file_path: ray/python/ray/data/tests/test_filename_provider.py
imports: import pandas
  import pytest
  from ray.data.datasource.filename_provider import _DefaultFilenameProvider
label_desc: Use image node_id 3 for calling a global function with example usage: test_default_filename_for_block_is_deterministic(filename_provider) without return types