code: def test_uvloop_event_loop():
      """Check that configuring distributed to use uvloop actually sets the event loop policy"""
      pytest.importorskip("uvloop")
      script = (
          "import distributed, asyncio, uvloop\n"
          "assert isinstance(asyncio.get_event_loop_policy(), uvloop.EventLoopPolicy)"
      )
      subprocess.check_call(
          [sys.executable, "-c", script],
          env={"DASK_DISTRIBUTED__ADMIN__EVENT_LOOP": "uvloop"},
      )
  
imports: from __future__ import annotations
  import contextlib
  import logging
  import os
  import re
  import subprocess
  import sys
  import tempfile
  import textwrap
  import pytest
  import yaml
  import dask.config
  from distributed.config import initialize_logging
  from distributed.utils_test import captured_handler, new_config, new_config_file
label_desc: Use image node_id 11 for calling a global function with example usage: test_uvloop_event_loop() without return types