code: def test_num_gpus_parsing(patch_mock_pynvml):
      # without mig instance
      assert NvidiaGPUAcceleratorManager.get_current_node_num_accelerators() == len(
          GPU_MOCK_DATA
      )
  
imports: import os
  import sys
  import pytest
  from ray._private.accelerators import NvidiaGPUAcceleratorManager
  from ray.tests.accelerators.mock_pynvml import DeviceHandleMock, PyNVMLMock, patch_mock_pynvml
label_desc: Use image node_id 1 for calling a global function with example usage: test_num_gpus_parsing(patch_mock_pynvml) without return types