code: def test_version_less_verbose(
      pytester: Pytester, pytestconfig, monkeypatch
  ) -> None:
      monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
      result = pytester.runpytest("--version")
      assert result.ret == 0
      result.stdout.fnmatch_lines([f"pytest {pytest.__version__}"])
  
file_path: pytest/testing/test_helpconfig.py
imports: import pytest
  from _pytest.config import ExitCode
  from _pytest.pytester import Pytester
label_desc: Use image node_id 2 for calling a global function with example usage: test_version_less_verbose(pytester, pytestconfig, monkeypatch) without return types