code: def setUp(self):
      self.card_index = 2
      self.gpu_card_handle = MagicMock()
  
      patcher = patch(
          "neptune.common.hardware.gpu.gpu_monitor.nvmlDeviceGetHandleByIndex"
      )
      nvmlDeviceGetHandleByIndex = patcher.start()
      nvmlDeviceGetHandleByIndex.side_effect = (
          lambda card_index: self.gpu_card_handle
          if card_index == self.card_index
          else None
      )
      self.addCleanup(patcher.stop)
  
file_path: neptune-client/tests/unit/neptune/legacy/internal/hardware/gauges/test_gpu_gauges.py
imports: import unittest
  from mock import MagicMock, patch
  from neptune.common.hardware.constants import BYTES_IN_ONE_GB
  from neptune.common.hardware.gauges.gpu import GpuMemoryGauge, GpuUsageGauge
label_desc: Use image node_id 1 for calling the TestGPUGauges obj's underlying member method code with example usage: obj.setUp() without return types