code: def test_wrap_experiment_raises_on_non_ctxt_param_name():
      prefix = "wrap_exp_test_prefix2"
      with pytest.raises(
          ValueError, match="named 'ctxt' instead of '_snapshot_config'"
      ):
  
          @wrap_experiment(prefix=prefix)
          def _test_exp(_snapshot_config=None):
              pass
  
imports: import os
  import pathlib
  import shutil
  import subprocess
  import sys
  import tempfile
  import textwrap
  import pytest
  from garage.experiment.experiment import wrap_experiment
label_desc: Use image node_id 8 for calling a global function with example usage: test_wrap_experiment_raises_on_non_ctxt_param_name() without return types