code: def test_geos_version():
      expected = "{}.{}.{}".format(*shapely.geos_version)
      actual = shapely.geos_version_string
  
      # strip any beta / dev qualifiers
      if any(c.isalpha() for c in actual):
          if actual[-1].isnumeric():
              actual = actual.rstrip(digits)
          actual = actual.rstrip(ascii_letters)
  
      assert actual == expected
  
imports: import os
  import sys
  from itertools import chain
  from string import ascii_letters, digits
  from unittest import mock
  import numpy
  import pytest
  import shapely
  from shapely.decorators import multithreading_enabled, requires_geos
label_desc: Use image node_id 4 for calling a global function with example usage: test_geos_version() without return types