code: def test_fail(self) -> None:
      with pytest.raises(RuntimeError) as excinfo:
          dep.import_required("bleepbloop", "nope")
      assert "nope" in str(excinfo.value)
  
file_path: bokeh/tests/unit/bokeh/util/test_dependencies.py
imports: from __future__ import annotations
  import pytest
  import numpy
  import pandas
  import bokeh.util.dependencies
label_desc: Use image node_id 2 for calling the Test_import_required obj's underlying member method code with example usage: obj.test_fail() without return types