code: def test_repr_html_no_ipython(basewidget, monkeypatch):
      monkeypatch.setitem(sys.modules, "IPython", None)
      with pytest.raises(NotImplementedError):
          basewidget._repr_html_()
  
file_path: data-describe/tests/test_widget.py
imports: import sys
  from unittest import mock
  import pytest
  import IPython
  from data_describe._widget import BaseWidget
label_desc: Use image node_id 4 for calling a global function with example usage: test_repr_html_no_ipython(basewidget, monkeypatch) without return types