code: def test_check_parameter_accepted_values(self):
      param = "lefttt"
      accepted_values = ["left", "right"]
      with pytest.raises(ValueError):
          geomstats.errors.check_parameter_accepted_values(
              param, "left_or_right", accepted_values
          )
  
file_path: geomstats/tests/tests_geomstats/test_errors.py
imports: import pytest
  import geomstats.backend
  import geomstats.errors
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.test.test_case import TestCase
label_desc: Use image node_id 4 for calling the TestBackends obj's underlying member method code with example usage: obj.test_check_parameter_accepted_values() without return types