code: def test_model_inference_time_check_with_condition_that_should_not_pass(
      iris_split_dataset_and_model: t.Tuple[Dataset, Dataset, object]
  ):
      # Arrange
      _, test, model = iris_split_dataset_and_model
      check = (
          ModelInferenceTime().add_condition_inference_time_less_than(
              0.00000001
          )
      )
  
      # Act
      result = check.run(test, model)
      condition_result, *_ = check.conditions_decision(result)
  
      # Assert
      name = "Average model inference time for one sample is less than 1e-08"
      details_pattern = re.compile(
          rf"Found average inference time \(seconds\): {SCIENTIFIC_NOTATION_REGEXP.pattern}"
      )
      assert_that(
          condition_result,
          equal_condition_result(  # type: ignore
              is_pass=False,
              category=ConditionCategory.FAIL,
              name=name,
              details=details_pattern,
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/model_evaluation/model_inference_time_test.py
imports: import re
  import typing
  from hamcrest import assert_that, instance_of, matches_regexp, only_contains
  from deepchecks.core import CheckResult, ConditionCategory
  from deepchecks.tabular.checks.model_evaluation import ModelInferenceTime
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import SCIENTIFIC_NOTATION_REGEXP, equal_condition_result
label_desc: Use image node_id 3 for calling a global function with example usage: test_model_inference_time_check_with_condition_that_should_not_pass(iris_split_dataset_and_model) without return types