docstr: Test that invalid sem-type other than "linear-gauss", "linear-exp", "linear-gumbel" is not accepted
docstr_tok: ["Test","that","invalid","sem-type","other","than","``","linear-gauss","''",",","``","linear-exp","''",",","``","linear-gumbel","''","is","not","accepted"]
code: def test_bad_sem_type(self):
      """Test that invalid sem-type other than "linear-gauss", "linear-exp", "linear-gumbel" is not accepted"""
      graph_type, degree, d_nodes = "erdos-renyi", 4, 10
      sm = generate_structure_dynamic(
          d_nodes, 2, degree, degree, graph_type
      )
      with pytest.raises(
          ValueError,
          match="unknown sem type invalid. Available types are:"
          r" \('linear-gauss', 'linear-exp', 'linear-gumbel'\)",
      ):
          generate_dataframe_dynamic(
              sm, sem_type="invalid", n_samples=10
          )
  
imports: import re
  import string
  from itertools import product
  import numpy
  import pandas
  import pytest
  from scipy import stats
  from sklearn.gaussian_process.kernels import RBF
  from causalnex.structure import StructureModel
  from causalnex.structure.data_generators import gen_stationary_dyn_net_and_df, generate_binary_data, generate_binary_dataframe, generate_categorical_dataframe, generate_continuous_data, generate_continuous_dataframe, generate_count_dataframe, generate_dataframe_dynamic, generate_structure, generate_structure_dynamic
  from tests.structure.data_generators.test_core import calculate_proba
label_desc: Use image node_id 2 for calling the TestGenerateDataframeDynamic obj's underlying member method code with example usage: obj.test_bad_sem_type() without return types