code: def test_given_numpy_array_with_object_dtype_when_check_is_probability_matrix_then_does_not_raise_error():
      assert not is_probability_matrix(
          np.array([0, 1, 2], dtype=object)
      )
  
file_path: dowhy/tests/gcm/test_divergence.py
imports: import numpy
  from flaky import flaky
  from pytest import approx
  from dowhy.gcm.divergence import auto_estimate_kl_divergence, estimate_kl_divergence_categorical, estimate_kl_divergence_continuous_clf, estimate_kl_divergence_continuous_knn, estimate_kl_divergence_of_probabilities, is_probability_matrix
label_desc: Use image node_id 8 for calling a global function with example usage: test_given_numpy_array_with_object_dtype_when_check_is_probability_matrix_then_does_not_raise_error() without return types