code: def test_no_syncing_needed(local_path):
      """Tests that we don't create a syncer if no syncing is needed."""
      storage = StorageContext(
          storage_path=local_path, experiment_dir_name="test_dir"
      )
      assert storage.syncer is None
  
file_path: ray/python/ray/train/tests/test_storage.py
imports: import os
  from pathlib import Path
  import pyarrow.fs
  import pytest
  import ray.cloudpickle
  from ray.train import Checkpoint, SyncConfig
  from ray.train._internal.storage import _VALIDATE_STORAGE_MARKER_FILENAME, StorageContext, _list_at_fs_path
  from ray.train.tests.test_new_persistence import _resolve_storage_type
label_desc: Use image node_id 5 for calling a global function with example usage: test_no_syncing_needed(local_path) without return types