code: def test_display_html_throws_error_on_old_dbr():
      html_data = "<!DOCTYPE html><html><body><p>Hey</p></body></html>"
      with mock.patch(
          "mlflow.recipes.utils.step.is_running_in_ipython_environment",
          return_value=True,
      ), mock.patch(
          "mlflow.recipes.utils.step.is_in_databricks_runtime",
          return_value=True,
      ), mock.patch(
          "mlflow.recipes.utils.step.get_databricks_runtime",
          return_value="10.4.x-snapshot-cpu-ml-scala2.12",
      ), pytest.raises(
          MlflowException,
          match="Use Databricks Runtime 11 or newer with MLflow Recipes",
      ):
          display_html(html_data=html_data)
  
file_path: mlflow/tests/recipes/test_step_utils.py
imports: from unittest import mock
  import numpy
  import pytest
  from pandas import DataFrame
  import mlflow.recipes.utils.step
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.cards import pandas_renderer
  from mlflow.recipes.utils.step import display_html, get_merged_eval_metrics, get_pandas_data_profiles, truncate_pandas_data_profile
label_desc: Use image node_id 4 for calling a global function with example usage: test_display_html_throws_error_on_old_dbr() without return types