code: def test_find_available_port():
      host = "0.0.0.0"
      port = 5000
      assert (
          find_available_port(port, host) == port
      ), "Port 5000 isn't free"
  
      from wsgiref.simple_server import demo_app, make_server
  
      with make_server(host, port, demo_app) as httpd:
          with pytest.warns(UserWarning, match="already in use"):
              found_port = find_available_port(
                  port, host, auto_select=True
              )
          assert found_port == port + 1, "Didn't find next port"
  
imports: import ctypes
  import os
  from pathlib import Path
  import pytest
  from thinc.api import Config, ConfigValidationError, CupyOps, MPSOps, NumpyOps, Optimizer, get_current_ops, set_current_ops
  from thinc.compat import has_cupy_gpu, has_torch_mps_gpu
  from spacy import prefer_gpu, require_cpu, require_gpu, util
  from spacy.about import __version__
  from spacy.lang.en import English
  from spacy.lang.nl import Dutch
  from spacy.language import DEFAULT_CONFIG_PATH
  from spacy.ml._precomputable_affine import PrecomputableAffine, _backprop_precomputable_affine_padding
  from spacy.schemas import ConfigSchemaTraining, TokenPattern, TokenPatternSchema
  from spacy.training.batchers import minibatch_by_words
  from spacy.util import SimpleFrozenList, dot_to_object, find_available_port, import_file, to_ternary_int
  from .util import get_random_doc, make_tempdir
label_desc: Use image node_id 26 for calling a global function with example usage: test_find_available_port() without return types