code: def test_large_file_error(shutdown_only, tmp_path, option: str):
      with chdir(tmp_path):
          # Write to two separate files, each of which is below the threshold to
          # make sure the error is for the full package size.
          size = GCS_STORAGE_MAX_SIZE // 2 + 1
          with open("test_file_1", "wb") as f:
              f.write(os.urandom(size))
  
          with open("test_file_2", "wb") as f:
              f.write(os.urandom(size))
  
          with pytest.raises(RuntimeEnvSetupError):
              if option == "working_dir":
                  ray.init(runtime_env={"working_dir": "."})
              else:
                  ray.init(runtime_env={"py_modules": ["."]})
  
file_path: ray/python/ray/tests/test_runtime_env_working_dir_2.py
imports: import os
  from pathlib import Path
  import sys
  import tempfile
  import pytest
  from ray._private.test_utils import chdir, run_string_as_driver
  import ray
  from ray._private.runtime_env import RAY_WORKER_DEV_EXCLUDES
  from ray._private.runtime_env.packaging import GCS_STORAGE_MAX_SIZE
  from ray.exceptions import RuntimeEnvSetupError
  from ray._private.runtime_env.packaging import get_uri_for_directory, upload_package_if_needed
  from ray._private.utils import get_directory_size_bytes
label_desc: Use image node_id 3 for calling a global function with example usage: test_large_file_error(shutdown_only, tmp_path, option) without return types