code: def test_conflicting_params(self):
      with pytest.raises(ValueError):
          Snapshotter(
              snapshot_dir=self.temp_dir.name,
              snapshot_mode="last",
              snapshot_gap=2,
          )
  
      with pytest.raises(ValueError):
          Snapshotter(
              snapshot_dir=self.temp_dir.name,
              snapshot_mode="gap_overwrite",
              snapshot_gap=1,
          )
  
file_path: garage/tests/garage/experiment/test_snapshotter.py
imports: from os import path
  import pickle
  import tempfile
  import pytest
  from garage.experiment import Snapshotter
label_desc: Use image node_id 6 for calling the TestSnapshotter obj's underlying member method code with example usage: obj.test_conflicting_params() without return types