code: def test_grabgpus4():
      pop_if_set()
      grab_gpus(5, gpu_select=range(3, 8))
      assert "0" not in os.environ["CUDA_VISIBLE_DEVICES"]
      assert "1" not in os.environ["CUDA_VISIBLE_DEVICES"]
      assert "2" not in os.environ["CUDA_VISIBLE_DEVICES"]
  
file_path: py3nvml/tests/test_py3nvml.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from time import sleep
  from py3nvml.py3nvml import *
  import pytest
  from py3nvml.utils import grab_gpus, get_free_gpus
  import os
label_desc: Use image node_id 6 for calling a global function with example usage: test_grabgpus4() without return types