code: def test_copulas_raise(case, k_dim):
      cop_tr, args, cop = case
      u = [0.5] * k_dim
  
      ca = ArchimedeanCopula(cop_tr(), k_dim=k_dim)
  
      with pytest.raises(NotImplementedError):
          ca.rvs(u, args=args)
  
      with pytest.raises(NotImplementedError):
          ca.pdf(u, args=args)
  
imports: import warnings
  from statsmodels.compat.pytest import pytest_warns
  from statsmodels.compat.scipy import SP_LT_15
  import numpy
  from numpy.testing import assert_allclose, assert_array_almost_equal
  import pytest
  from scipy import stats
  from statsmodels.distributions.copula.archimedean import ArchimedeanCopula, ClaytonCopula, FrankCopula, GumbelCopula, _debyem1_expansion
  from statsmodels.distributions.copula.copulas import CopulaDistribution
  import statsmodels.distributions.copula.depfunc_ev
  from statsmodels.distributions.copula.elliptical import GaussianCopula, StudentTCopula
  from statsmodels.distributions.copula.extreme_value import ExtremeValueCopula, copula_bv_ev
  from statsmodels.distributions.copula.other_copulas import IndependenceCopula
  import statsmodels.distributions.copula.transforms
  from statsmodels.distributions.tools import approx_copula_pdf, frequencies_fromdata
  from statsmodels.tools.numdiff import approx_fprime_cs, approx_hess
label_desc: Use image node_id 7 for calling a global function with example usage: test_copulas_raise(case, k_dim) without return types