code: def test_when_drawing_samples_from_unfitted_bayesian_gaussian_mixture_distribution_then_runtime_error_should_occur():
      approximated_data_distribution_model = (
          BayesianGaussianMixtureDistribution()
      )
      with pytest.raises(RuntimeError):
          approximated_data_distribution_model.draw_samples(5)
  
file_path: dowhy/tests/gcm/test_stochastic_models.py
imports: import numpy
  import pytest
  from flaky import flaky
  from pytest import approx
  from scipy import stats
  from dowhy.gcm import BayesianGaussianMixtureDistribution, EmpiricalDistribution, ScipyDistribution
label_desc: Use image node_id 2 for calling a global function with example usage: test_when_drawing_samples_from_unfitted_bayesian_gaussian_mixture_distribution_then_runtime_error_should_occur() without return types