code: def test_black_box_with_model_prob(
      art_warning,
      decision_tree_estimator,
      estimator_for_attack,
      get_iris_dataset,
  ):
      try:
          classifier = decision_tree_estimator()
          attack_model = estimator_for_attack(
              num_features=2 * num_classes_iris
          )
          attack = MembershipInferenceBlackBox(
              classifier, attack_model=attack_model
          )
          backend_check_membership_probabilities(
              attack, get_iris_dataset, attack_train_ratio
          )
      except ARTTestException as e:
          art_warning(e)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  import keras
  from art.attacks.inference.membership_inference.black_box import MembershipInferenceBlackBox
  from art.estimators.classification.keras import KerasClassifier
  from art.estimators.estimator import BaseEstimator
  from art.estimators.classification.classifier import ClassifierMixin
  from art.estimators.regression import ScikitlearnRegressor, RegressorMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 12 for calling a global function with example usage: test_black_box_with_model_prob(art_warning, decision_tree_estimator, estimator_for_attack, get_iris_dataset) without return types