code: def test_call_nonexistent_kind():
      """Tests that specifying a non existent kind will fail"""
      with create_experiment(config, trial_config, ["completed"]) as (
          _,
          _,
          experiment,
      ):
          pa = PlotAccessor(experiment)
          with pytest.raises(ValueError) as exception:
              pa(kind="nonexistent")
  
          assert "Plot of kind 'nonexistent' is not one of" in str(
              exception.value
          )
  
file_path: orion/tests/unittests/plotting/test_plot_accessor.py
imports: import pytest
  from orion.core.worker.experiment import Experiment
  from orion.plotting.base import PlotAccessor
  from orion.testing import create_experiment
label_desc: Use image node_id 3 for calling a global function with example usage: test_call_nonexistent_kind() without return types