code: def test_load_with_invalid_load_mode(self):
      snapshotter = Snapshotter()
      with pytest.raises(ValueError):
          snapshotter.load(self.temp_dir.name, "foo")
  
file_path: garage/tests/garage/experiment/test_snapshotter_integration.py
imports: import tempfile
  import pytest
  from garage.envs import GymEnv
  from garage.experiment import SnapshotConfig, Snapshotter
  from garage.tf.algos import VPG
  from garage.tf.policies import CategoricalMLPPolicy
  from tests.fixtures import TfGraphTestCase
  from tests.fixtures.experiment import fixture_exp
label_desc: Use image node_id 4 for calling the TestSnapshot obj's underlying member method code with example usage: obj.test_load_with_invalid_load_mode() without return types