code: def _plugin_creator(
      tmp_path: Path, monkeypatch
  ) -> tp.Iterator[PluginCreator]:
      creator = PluginCreator(tmp_path, monkeypatch)
      with creator:
          yield creator
  
imports: import logging
  import re
  import typing
  from pathlib import Path
  import pkg_resources
  import pytest
  from .None import core, plugins
  from .job_environment import JobEnvironment
label_desc: Use image node_id 8 for calling a global function with example usage: _plugin_creator(tmp_path, monkeypatch) without return types