code: def runner(config_dir):
      yield CliRunner(
          mix_stderr=False, env={"XDG_CONFIG_HOME": config_dir}
      )
  
imports: import pytest
  import tempfile
  from typer.testing import CliRunner
label_desc: Use image node_id 2 for calling a global function with example usage: runner(config_dir) without return types