code: def test_join_matches_subprocess(Parser, runner, argv):
      """
      Test that join produces strings understood by subprocess
      """
      # invoke python to return its arguments as json
      cmd = [
          sys.executable,
          "-c",
          "import json, sys; print(json.dumps(sys.argv[1:]))",
      ]
      joined = Parser.join(cmd + argv)
      json_out = runner(joined).decode()
      assert json.loads(json_out) == argv
  
file_path: catboost/contrib/python/numpy/py3/numpy/distutils/tests/test_shell_utils.py
imports: import pytest
  import subprocess
  import json
  import sys
  from numpy.distutils import _shell_utils
  from numpy.testing import IS_WASM
label_desc: Use image node_id 3 for calling a global function with example usage: test_join_matches_subprocess(Parser, runner, argv) without return types