code: def test_pytester_subprocess_via_runpytest_arg(
      pytester: Pytester,
  ) -> None:
      testfile = pytester.makepyfile(
          """
          def test_pytester_subprocess(pytester):
              import os
              testfile = pytester.makepyfile(
                  \"""
                  import os
                  def test_one():
                      assert {} != os.getpid()
                  \""".format(os.getpid())
              )
              assert pytester.runpytest(testfile).ret == 0
          """
      )
      result = pytester.runpytest_inprocess(
          "-p", "pytester", "--runpytest", "subprocess", testfile
      )
      assert result.ret == 0
  
imports: import os
  import subprocess
  import sys
  import time
  from types import ModuleType
  from typing import List
  import _pytest.pytester
  import pytest
  from _pytest.config import ExitCode
  from _pytest.config import PytestPluginManager
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import HookRecorder
  from _pytest.pytester import LineMatcher
  from _pytest.pytester import Pytester
  from _pytest.pytester import SysModulesSnapshot
  from _pytest.pytester import SysPathsSnapshot
label_desc: Use image node_id 14 for calling a global function with example usage: test_pytester_subprocess_via_runpytest_arg(pytester) without return types