code: def test_wrap_experiment_invalid_options():
      prefix = "wrap_exp_invalid_options"
      exp_path = pathlib.Path(os.getcwd(), "data/local", prefix)
      _hard_rmtree(exp_path)
      logdir = "data/local/wrap_exp_invalid_options/test_exp"
  
      @wrap_experiment(prefix=prefix)
      def test_exp(ctxt):
          del ctxt
  
      with pytest.raises(ValueError):
          test_exp(dict(logdir=logdir))
  
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 18 for calling a global function with example usage: test_wrap_experiment_invalid_options() without return types