code: def test_entry_point_error(es, monkeypatch):
      entry_point = MockEntryPoint()
      monkeypatch.setitem(
          dfs.__globals__["entry_point"].__globals__,
          "pkg_resources",
          MockPkgResources(entry_point),
      )
      with pytest.raises(KeyError):
          dfs(entityset=es, target_dataframe_name="missing_dataframe")
  
      assert isinstance(entry_point.error, KeyError)
  
file_path: featuretools/featuretools/tests/utils_tests/test_entry_point.py
imports: import pandas
  import pytest
  from featuretools import dfs
label_desc: Use image node_id 5 for calling a global function with example usage: test_entry_point_error(es, monkeypatch) without return types