code: def test_user_configured_more_than_visible(
      monkeypatch, call_ray_stop_only
  ):
      # Test more neuron_cores are configured than visible.
      monkeypatch.setenv("NEURON_RT_VISIBLE_CORES", "0,1,2")
      with pytest.raises(ValueError):
          ray.init(resources={"neuron_cores": 4})
  
file_path: ray/python/ray/tests/accelerators/test_neuron.py
imports: import os
  import sys
  import subprocess
  import pytest
  from unittest.mock import patch
  import ray
  from ray._private.accelerators import NeuronAcceleratorManager
label_desc: Use image node_id 1 for calling a global function with example usage: test_user_configured_more_than_visible(monkeypatch, call_ray_stop_only) without return types