code: def test_visible_amd_gpu_type_bad_pci_id(
      mock_get_num_accelerators, shutdown_only
  ):
      ray.init()
      mock_get_num_accelerators.called
      assert (
          AMDGPUAcceleratorManager.get_current_node_accelerator_type()
          is None
      )
  
file_path: ray/python/ray/tests/accelerators/test_amd_gpu.py
imports: import os
  import sys
  import pytest
  from unittest.mock import patch
  import ray
  from ray._private.accelerators import AMDGPUAcceleratorManager
  from ray._private.accelerators import get_accelerator_manager_for_resource
label_desc: Use image node_id 3 for calling a global function with example usage: test_visible_amd_gpu_type_bad_pci_id(mock_get_num_accelerators, shutdown_only) without return types