code: def test_given_nodes_names_are_ints_when_calling_noise_dependent_function_then_does_not_raise_key_error_exception():
      causal_model = StructuralCausalModel(nx.DiGraph([(1, 2)]))
      data = pd.DataFrame(
          {1: np.random.normal(0, 1, 10), 2: np.random.normal(0, 1, 10)}
      )
      assign_causal_mechanisms(causal_model, data)
  
      fit(causal_model, data)
  
      noise_dependent_function, _ = get_noise_dependent_function(
          causal_model, 1
      )
  
      noise_dependent_function(np.array([[1]]))
  
file_path: dowhy/tests/gcm/test_noise.py
imports: import networkx
  import numpy
  import pandas
  from _pytest.python_api import approx
  from flaky import flaky
  from dowhy.gcm import AdditiveNoiseModel, EmpiricalDistribution, InvertibleStructuralCausalModel, StructuralCausalModel, fit
  from dowhy.gcm._noise import compute_data_from_noise, compute_noise_from_data, get_noise_dependent_function
  from dowhy.gcm.auto import assign_causal_mechanisms
  from dowhy.gcm.causal_models import PARENTS_DURING_FIT
  from dowhy.gcm.ml import create_linear_regressor, create_linear_regressor_with_given_parameters, create_logistic_regression_classifier
  from dowhy.graph import DirectedGraph, get_ordered_predecessors
label_desc: Use image node_id 6 for calling a global function with example usage: test_given_nodes_names_are_ints_when_calling_noise_dependent_function_then_does_not_raise_key_error_exception() without return types