code: def test_version_option():
      runner = CliRunner()
      result = runner.invoke(
          distributed.cli.dask_scheduler.main, ["--version"]
      )
      assert result.exit_code == 0
  
imports: from __future__ import annotations
  import re
  import psutil
  import pytest
  import os
  import shutil
  import signal
  import subprocess
  import sys
  import tempfile
  from time import sleep
  import requests
  from click.testing import CliRunner
  from dask.utils import tmpfile
  import distributed
  import distributed.cli.dask_scheduler
  from distributed import Client, Scheduler
  from distributed.compatibility import LINUX, WINDOWS
  from distributed.metrics import time
  from distributed.utils import get_ip, get_ip_interface, open_port
  from distributed.utils_test import assert_can_connect_from_everywhere_4_6, assert_can_connect_locally_4, popen
label_desc: Use image node_id 19 for calling a global function with example usage: test_version_option() without return types