code: def test_spilling_not_done_for_pinned_object(
      object_spilling_config, shutdown_only
  ):
      # Limit our object store to 75 MiB of memory.
      object_spilling_config, temp_folder = object_spilling_config
      address = ray.init(
          object_store_memory=75 * 1024 * 1024,
          _system_config={
              "max_io_workers": 4,
              "automatic_object_spilling_enabled": True,
              "object_store_full_delay_ms": 100,
              "object_spilling_config": object_spilling_config,
              "min_spilling_size": 0,
          },
      )
      arr = np.random.rand(5 * 1024 * 1024)  # 40 MB
      ref = ray.get(ray.put(arr))  # noqa
      ref2 = ray.put(arr)  # noqa
  
      wait_for_condition(lambda: is_dir_empty(temp_folder))
      assert_no_thrashing(address["address"])
  
imports: import copy
  import json
  import platform
  import random
  import sys
  from datetime import datetime, timedelta
  from unittest.mock import patch
  import numpy
  import pytest
  import ray
  from ray._private.external_storage import create_url_with_offset, parse_url_with_offset, _get_unique_spill_filename, FileSystemStorage, ExternalStorageSmartOpenImpl
  from ray._private.internal_api import memory_summary
  from ray._private.test_utils import wait_for_condition
  from ray._raylet import GcsClientOptions
  from ray.tests.conftest import buffer_object_spilling_config, file_system_object_spilling_config, mock_distributed_fs_object_spilling_config
label_desc: Use image node_id 10 for calling a global function with example usage: test_spilling_not_done_for_pinned_object(object_spilling_config, shutdown_only) without return types