code: def test_input_validation_unknown_method(self):
      with pytest.raises(
          ValueError, match="Unknown 'method' parameter"
      ):
          ddm.distance_covariance_test(
              self.x, self.y, method="wrong_name"
          )
  
imports: import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  from statsmodels.datasets import get_rdataset
  from statsmodels.datasets.tests.test_utils import IGNORED_EXCEPTIONS
  import statsmodels.stats.dist_dependence_measures
  from statsmodels.tools.sm_exceptions import HypothesisTestWarning
label_desc: Use image node_id 3 for calling the TestDistDependenceMeasures obj's underlying member method code with example usage: obj.test_input_validation_unknown_method() without return types