code: def test_ninja_script():
      expected_version = "1.11.1.git.kitware.jobserver-1"
      scripts = _get_scripts()
      assert len(scripts) == 1
      assert scripts[0].stem == "ninja"
      output = subprocess.check_output(
          [str(scripts[0]), "--version"]
      ).decode("ascii")
      assert output.splitlines()[0] == expected_version
  
file_path: ninja-python-distributions/tests/test_ninja.py
imports: import os
  import subprocess
  import sys
  import sysconfig
  import pytest
  from importlib_metadata import distribution
  import ninja
  from .None import push_argv
label_desc: Use image node_id 5 for calling a global function with example usage: test_ninja_script() without return types